treewide: replace nautilus with thunar

This commit is contained in:
Anthony Rodriguez 2025-01-29 11:24:47 +01:00
parent 5b40018e66
commit 774b73ecfd
Signed by: nezia
SSH key fingerprint: SHA256:R/ue1eTzTHUoo77lJD/3fSUsyL4AwvcHImU5BAZai+8
6 changed files with 30 additions and 4 deletions

View file

@ -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

View file

@ -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"
]; ];

View file

@ -20,7 +20,6 @@ in {
imhex imhex
logisim-evolution logisim-evolution
mission-center mission-center
nautilus
obsidian obsidian
playerctl playerctl
proton-pass proton-pass

View 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
};
}

View file

@ -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

View file

@ -13,7 +13,6 @@
]; ];
gnome.gnome-keyring.enable = true; gnome.gnome-keyring.enable = true;
gvfs.enable = true;
}; };
}; };
} }