programs: thunar -> pcmanfm
This commit is contained in:
parent
c5e559afc0
commit
749de574a0
5 changed files with 24 additions and 30 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
21
modules/programs/pcmanfm.nix
Normal file
21
modules/programs/pcmanfm.nix
Normal 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
|
||||||
|
};
|
||||||
|
}
|
|
@ -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
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue