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
|
||||
./games.nix
|
||||
./misc.nix
|
||||
./thunar.nix
|
||||
./waybar.nix
|
||||
./wlogout.nix
|
||||
./xdg.nix
|
||||
|
|
|
@ -85,7 +85,7 @@ in {
|
|||
workspace = [
|
||||
"special:terminal, on-created-empty:foot"
|
||||
"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"
|
||||
];
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ in {
|
|||
imhex
|
||||
logisim-evolution
|
||||
mission-center
|
||||
nautilus
|
||||
obsidian
|
||||
playerctl
|
||||
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/png=org.gnome.gThumb.desktop
|
||||
image/svg= org.gnome.gThumb.desktop
|
||||
inode/directory=yazi.desktop
|
||||
inode/directory=thunar.desktop
|
||||
text/html=firefox.desktop
|
||||
video/avi=io.github.celluloid_player.Celluloid.desktop
|
||||
video/mkv=io.github.celluloid_player.Celluloid.desktop
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
];
|
||||
|
||||
gnome.gnome-keyring.enable = true;
|
||||
gvfs.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue