programs: thunar -> pcmanfm

This commit is contained in:
Anthony Rodriguez 2025-02-11 18:03:13 +01:00
parent c5e559afc0
commit 749de574a0
Signed by: nezia
SSH key fingerprint: SHA256:Ihfpl0rUpqDevYqnzSR34OYfVLbDNkBiUjs3CpX4ykA
5 changed files with 24 additions and 30 deletions

View file

@ -13,7 +13,7 @@
./games.nix ./games.nix
./misc.nix ./misc.nix
./nh.nix ./nh.nix
./thunar.nix ./pcmanfm.nix
./waybar.nix ./waybar.nix
./wlogout.nix ./wlogout.nix
./xdg.nix ./xdg.nix

View file

@ -79,7 +79,7 @@ in {
]; ];
workspace = [ workspace = [
"special:terminal, on-created-empty:ghostty" "special:terminal, on-created-empty:ghostty"
"special:file_manager_gui, on-created-empty:thunar" "special:file_manager_gui, on-created-empty:pcmanfm"
"special:file_manager_tui, on-created-empty:ghostty -e yazi" "special:file_manager_tui, on-created-empty:ghostty -e yazi"
"special:calculator_gui, on-created-empty:qalculate-gtk" "special:calculator_gui, on-created-empty:qalculate-gtk"

View file

@ -0,0 +1,21 @@
{
lib,
pkgs,
config,
...
}: let
inherit (lib) mkIf;
inherit (config.local.systemVars) username;
in {
config = mkIf config.local.profiles.desktop.enable {
hjem.users.${username} = {
packages = with pkgs; [
lxmenu-data
pcmanfm
shared-mime-info
];
};
services.gvfs.enable = true; # Mount, trash, and other functionalities
};
}

View file

@ -1,27 +0,0 @@
{
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=thunar.desktop inode/directory=pcmanfm.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