Skip to content

Commit

Permalink
Fix Hyprland and switch file picker to KDE one
Browse files Browse the repository at this point in the history
  • Loading branch information
nonetrix committed May 25, 2024
1 parent d8bad82 commit 7ea46e8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions graphical/hyprland.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{inputs, ...}: let
global = import ../global-var.nix;
in {
programs.hyprland.enable = true;

home-manager.users.${global.username} = {pkgs, ...}: {
home.file.".icons/default".source = "${pkgs.catppuccin-cursors.mochaDark}/share/icons/Catppuccin-Mocha-Dark-Cursors";

Expand Down
3 changes: 3 additions & 0 deletions graphical/unconfigured.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,8 @@
neovide
# Allows for drag and drop from terminal
ripdrag
# Tumbnails for KDE stuff
libsForQt5.ffmpegthumbs
libsForQt5.kio-extras
];
}
12 changes: 11 additions & 1 deletion services/xdg-portal.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@
xdg.portal = {
xdgOpenUsePortal = true;
enable = true;
configPackages = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland];
configPackages = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-kde pkgs.xdg-desktop-portal-hyprland];
config = {
hyprland = {
default = [
"hyprland;gtk"
];
"org.freedesktop.impl.portal.FileChooser" = [
"kde"
];
};
};
};

# Fix for https://github.com/NixOS/nixpkgs/issues/189851
Expand Down

0 comments on commit 7ea46e8

Please sign in to comment.