ctucx.git: nixfiles

ctucx' nixfiles

commit cf0abac60133a918fef2c00d4c155467d20cadac
parent 7bd551f171953c64353195a78865b8dca3f8ba15
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 12 Jan 2022 17:59:25 +0100

programs/thunar: hide desktop-entries for settings and bulk-rename
1 file changed, 27 insertions(+), 0 deletions(-)
M
configurations/programs/thunar.nix
|
27
+++++++++++++++++++++++++++
diff --git a/configurations/programs/thunar.nix b/configurations/programs/thunar.nix
@@ -14,6 +14,33 @@
       xfce.thunar
     ];
 
+    xdg = {
+      desktopEntries = {
+        thunar-bulk-rename = {
+          name        = "Bulk Rename";
+          genericName = "Bulk Rename";
+          icon        = "org.xfce.thunar";
+          exec        = "thunar --bulk-rename %F";
+          terminal    = false;
+          categories  = [ "System" "Utility" "Core" "GTK" "Filesystem" ];
+          settings    = {
+            NoDisplay = "true";
+          };
+        };
+
+        thunar-settings = {
+          name        = "File Manager Settings";
+          icon        = "org.xfce.thunar";
+          exec        = "thunar-settings";
+          terminal    = false;
+          categories  = [ "XFCE" "GTK" "Settings" "DesktopSettings" "X-XFCE-SettingsDialog" "X-XFCE-PersonalSettings" ];
+          settings    = {
+            NoDisplay = "true";
+          };
+        };
+      };
+    };
+
     wayland.windowManager.sway.extraConfig = ''
       exec swaymsg 'workspace 6: Files; exec thunar; workspace 1: Web;'
     '';