treewide: replace nautilus with thunar
This commit is contained in:
parent
5b40018e66
commit
774b73ecfd
6 changed files with 30 additions and 4 deletions
|
@ -10,6 +10,7 @@
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./games.nix
|
./games.nix
|
||||||
./misc.nix
|
./misc.nix
|
||||||
|
./thunar.nix
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
./wlogout.nix
|
./wlogout.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
|
|
|
@ -85,7 +85,7 @@ in {
|
||||||
workspace = [
|
workspace = [
|
||||||
"special:terminal, on-created-empty:foot"
|
"special:terminal, on-created-empty:foot"
|
||||||
"special:mixer_gui, on-created-empty:pavucontrol"
|
"special:mixer_gui, on-created-empty:pavucontrol"
|
||||||
"special:file_manager_gui, on-created-empty:nautilus"
|
"special:file_manager_gui, on-created-empty:thunar"
|
||||||
"special:file_manager_tui, on-created-empty:foot -- yazi"
|
"special:file_manager_tui, on-created-empty:foot -- yazi"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@ in {
|
||||||
imhex
|
imhex
|
||||||
logisim-evolution
|
logisim-evolution
|
||||||
mission-center
|
mission-center
|
||||||
nautilus
|
|
||||||
obsidian
|
obsidian
|
||||||
playerctl
|
playerctl
|
||||||
proton-pass
|
proton-pass
|
||||||
|
|
27
modules/programs/thunar.nix
Normal file
27
modules/programs/thunar.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
in {
|
||||||
|
config = mkIf config.local.profiles.desktop.enable {
|
||||||
|
programs = {
|
||||||
|
thunar = {
|
||||||
|
enable = true;
|
||||||
|
plugins = with pkgs.xfce; [
|
||||||
|
thunar-archive-plugin
|
||||||
|
thunar-volman
|
||||||
|
exo
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
xfconf.enable = true;
|
||||||
|
file-roller.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.gvfs.enable = true; # Mount, trash, and other functionalities
|
||||||
|
services.tumbler.enable = true; # Thumbnail support for images
|
||||||
|
};
|
||||||
|
}
|
|
@ -17,7 +17,7 @@ in {
|
||||||
image/jpeg=org.gnome.gThumb.desktop
|
image/jpeg=org.gnome.gThumb.desktop
|
||||||
image/png=org.gnome.gThumb.desktop
|
image/png=org.gnome.gThumb.desktop
|
||||||
image/svg= org.gnome.gThumb.desktop
|
image/svg= org.gnome.gThumb.desktop
|
||||||
inode/directory=yazi.desktop
|
inode/directory=thunar.desktop
|
||||||
text/html=firefox.desktop
|
text/html=firefox.desktop
|
||||||
video/avi=io.github.celluloid_player.Celluloid.desktop
|
video/avi=io.github.celluloid_player.Celluloid.desktop
|
||||||
video/mkv=io.github.celluloid_player.Celluloid.desktop
|
video/mkv=io.github.celluloid_player.Celluloid.desktop
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
gnome.gnome-keyring.enable = true;
|
gnome.gnome-keyring.enable = true;
|
||||||
gvfs.enable = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue