use thunar

This commit is contained in:
Cy Pokhrel 2024-11-22 20:46:58 -05:00
parent 53f77c222e
commit 2b7f0e6108
No known key found for this signature in database
GPG key ID: 1200FBE36C2ADE2E
4 changed files with 31 additions and 7 deletions

View file

@ -51,6 +51,11 @@
nwg-look
element-desktop-wayland
kdePackages.gwenview
kdePackages.okular
kdePackages.qtwayland
mpv
yt-dlp
anki-bin
];
};
@ -76,7 +81,6 @@
alsa-utils
nixd
veracrypt
kdePackages.dolphin
bluetuith
libimobiledevice
networkmanagerapplet
@ -164,4 +168,24 @@
lidSwitch = "hibernate";
suspendKey = "hibernate";
};
xdg.mime.defaultApplications = {
"application/pdf" = "okular.desktop";
"image/*" = "gwenview.desktop";
"*/html" = "librewolf.desktop";
};
programs.thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
};
# preference changes don't work in thunar without this
programs.xfconf.enable = true;
# mount, trash and stuff in thunar
services.gvfs.enable = true;
# thumbnails in thunar
services.tumbler.enable =true;
}