feat(linux): use pcmanfm as file browser
This commit is contained in:
parent
99d0a0c005
commit
9ec72adb27
4 changed files with 8 additions and 14 deletions
|
@ -53,7 +53,7 @@
|
|||
modFocus = "${mod}+Ctrl";
|
||||
hyper = "Mod4+Mod1+Shift+Ctrl";
|
||||
|
||||
thunar = lib.getExe pkgs.xfce.thunar;
|
||||
pcmanfm = lib.getExe pkgs.pcmanfm;
|
||||
screenshot =
|
||||
if wayland
|
||||
then "${lib.getExe pkgs.sway-contrib.grimshot} copy area"
|
||||
|
@ -70,7 +70,7 @@
|
|||
"${mod}+Shift+q" = "kill";
|
||||
# Start Applications
|
||||
"${mod}+Shift+Return" = "exec ${terminal}";
|
||||
"${mod}+e" = "exec --no-startup-id ${thunar}";
|
||||
"${mod}+e" = "exec --no-startup-id ${pcmanfm}";
|
||||
"${hyper}+p" = "exec --no-startup-id ${screenshot}";
|
||||
|
||||
# change focus
|
||||
|
|
|
@ -34,15 +34,15 @@ in {
|
|||
fd
|
||||
ffmpeg
|
||||
file
|
||||
gh
|
||||
gocryptfs
|
||||
imagemagick
|
||||
just
|
||||
mdcat
|
||||
mosh
|
||||
ranger
|
||||
ripgrep
|
||||
git-secret
|
||||
gh
|
||||
gocryptfs
|
||||
mosh
|
||||
sops
|
||||
]
|
||||
++ lib.optionals isLinux [
|
||||
_1password-gui
|
||||
|
|
|
@ -46,7 +46,7 @@ in {
|
|||
dataHome = "${homeDirectory}/.local/share";
|
||||
mimeApps = {
|
||||
enable = isLinux;
|
||||
defaultApplications."inode/directory" = "thunar.desktop";
|
||||
defaultApplications."inode/directory" = "pcmanfm.desktop";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
unzip
|
||||
zip
|
||||
gnome.file-roller
|
||||
pcmanfm
|
||||
|
||||
# thumbnails
|
||||
webp-pixbuf-loader
|
||||
|
@ -13,13 +14,6 @@
|
|||
programs = {
|
||||
dconf.enable = true;
|
||||
noisetorch.enable = true;
|
||||
thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
programs.sway = {
|
||||
|
|
Loading…
Reference in a new issue