ctucx.git: nixfiles

ctucx' nixfiles

commit 2479cac9eeb26db6f477f4209cd6d0ba70bce902
parent 348d546154f2ee2b021c0eae67e4b0652e684219
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 12 Feb 2022 09:50:02 +0100

programs/imv: fix desktop entry for folders
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/configurations/programs/imv.nix b/configurations/programs/imv.nix
@@ -3,5 +3,20 @@
 {
   home-manager.users.leah = {
     home.packages = [ pkgs.imv ];
+
+    xdg = {
+      desktopEntries = {
+        imv-folder = {
+          name        = "imv (Folder)";
+          genericName = "Image Viewer";
+          exec        = "imv-folder %f";
+          terminal    = false;
+          categories  = [ "Graphics" "2DGraphics" "Viewer" ];
+          settings    = {
+            NoDisplay = "true";
+          };
+        };
+      };
+    };
   };
 }