feat: pcmanfm -> nautilus

This commit is contained in:
winston 2023-11-08 18:06:36 +01:00
parent 5b6ea72109
commit 30ea6b7021
Signed by: winston
GPG key ID: 3786770EDBC2B481
4 changed files with 16 additions and 8 deletions

View file

@ -96,7 +96,7 @@ in {
modFocus = "${mod}+Ctrl"; modFocus = "${mod}+Ctrl";
hyper = "Mod4+Mod1+Shift+Ctrl"; hyper = "Mod4+Mod1+Shift+Ctrl";
pcmanfm = "${pkgs.pcmanfm}/bin/pcmanfm"; filebrowser = "${pkgs.gnome.nautilus}/bin/nautilus";
screenshot = "${pkgs.sway-contrib.grimshot}/bin/grimshot copy area"; screenshot = "${pkgs.sway-contrib.grimshot}/bin/grimshot copy area";
playerctl = "${pkgs.playerctl}/bin/playerctl"; playerctl = "${pkgs.playerctl}/bin/playerctl";
wpctl = pkgs.wireplumber + "/bin/wpctl"; wpctl = pkgs.wireplumber + "/bin/wpctl";
@ -110,7 +110,7 @@ in {
"${mod}+Shift+q" = "kill"; "${mod}+Shift+q" = "kill";
# Start Applications # Start Applications
"${mod}+Shift+Return" = "exec ${terminal}"; "${mod}+Shift+Return" = "exec ${terminal}";
"${mod}+e" = "exec --no-startup-id ${pcmanfm}"; "${mod}+e" = "exec --no-startup-id ${filebrowser}";
"${hyper}+p" = "exec --no-startup-id ${screenshot}"; "${hyper}+p" = "exec --no-startup-id ${screenshot}";
# change focus # change focus

View file

@ -50,7 +50,7 @@ in {
dataHome = "${homeDirectory}/.local/share"; dataHome = "${homeDirectory}/.local/share";
mimeApps = { mimeApps = {
enable = isLinux; enable = isLinux;
defaultApplications."inode/directory" = "pcmanfm.desktop"; defaultApplications."inode/directory" = "nautilus.desktop";
}; };
}; };
} }

View file

@ -4,8 +4,8 @@
./greeter.nix ./greeter.nix
./input.nix ./input.nix
./network.nix ./network.nix
./session.nix
./sound.nix ./sound.nix
./xsession.nix
]; ];
console.colors = [ console.colors = [

View file

@ -5,7 +5,8 @@
unzip unzip
zip zip
gnome.file-roller gnome.file-roller
pcmanfm gnome.nautilus
gnome.sushi
# thumbnails # thumbnails
webp-pixbuf-loader webp-pixbuf-loader
@ -41,11 +42,18 @@
}; };
}; };
# gcr needed for gnome3 pinentry services.dbus.packages = with pkgs; [
services.dbus.packages = with pkgs; [darkman gcr]; darkman
# gcr needed for gnome3 pinentry, managed in Home-Manager
gcr
gnome.sushi
];
xdg.portal.enable = true; xdg.portal.enable = true;
xdg.portal.wlr.enable = true; xdg.portal.wlr.enable = true;
xdg.portal.extraPortals = with pkgs; [darkman xdg-desktop-portal-gtk]; xdg.portal.extraPortals = with pkgs; [
darkman
xdg-desktop-portal-gtk
];
services = { services = {
# mounting # mounting