# Thunar is a file explorer { pkgs, config, lib, ... }: let user = config.var.username; in { # ctrl + m to toggle the menubar home.packages = with pkgs; [ thunar xfconf tumbler thunar-archive-plugin thunar-volman thunar-media-tags-plugin p7zip xarchiver papirus-icon-theme material-icons material-design-icons material-symbols ]; gtk = { enable = true; iconTheme = { name = "Papirus-Dark"; package = pkgs.papirus-icon-theme; }; # bookmarks for the side pane gtk3.bookmarks = [ "file:///home/${user}/Downloads Downloads" "file:///home/${user}/Pictures Pictures" "file:///home/${user}/.config/nixos NixOS" "file:///home/${user}/dev Development" ]; }; qt.enable = true; home.sessionVariables = { XDG_ICON_DIR = "${pkgs.papirus-icon-theme}/share/icons/Papirus"; QS_ICON_THEME = "Papirus"; QT_STYLE_OVERRIDE = lib.mkForce "Fusion"; }; home.file.".config/xarchiver/xarchiverrc".text = '' [xarchiver] preferred_format=0 prefer_unzip=true confirm_deletion=true sort_filename_content=false advanced_isearch=true auto_expand=true store_output=false icon_size=2 show_archive_comment=false show_sidebar=true show_location_bar=true show_toolbar=true preferred_custom_cmd= preferred_temp_dir=/tmp preferred_extract_dir=./ allow_sub_dir=0 ensure_directory=true overwrite=false full_path=2 touch=false fresh=false update=false store_path=false updadd=true freshen=false recurse=true solid_archive=false remove_files=false ''; home.file.".config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml" = { text = '' ''; force = true; }; xdg.configFile."Thunar/uca.xml".text = '' utilities-terminal Open Terminal Here 1700000000000001 ghostty -d %f Opens terminal in the selected folder * Extract here 1689618425925956-3 xarchiver -x . %f Extracts the archive into the directory it is located in. * *.tar.bz2;*.tar.gz;*.tar.xz;*.tar.Z;*.tar;*.taz;*.tb2;*.tbz;*.tbz2;*.tgz;*.txz;*.zip;*.bz2;*.docx;*.apk;*.gz;*.odt; package-x-generic Compress here (tar.gz) 1700000000000003 tar -czvf %n.tar.gz %N Creates a compressed archive (.tar.gz) of selected files/folders. * * ''; }