From 6935add0c7278cd730be1c1fe37b44d6a64215f1 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 24 Oct 2024 14:45:55 -0400 Subject: [PATCH] defaultApps: set icon --- homeManagerModules/defaultApps.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/defaultApps.nix b/homeManagerModules/defaultApps.nix index b22c9a57..d7d82322 100644 --- a/homeManagerModules/defaultApps.nix +++ b/homeManagerModules/defaultApps.nix @@ -84,9 +84,11 @@ in { desktopEntries = let mkDefaultEntry = name: package: { - name = "Default ${name}"; exec = "${lib.getExe package} %U"; + icon = "${builtins.baseNameOf (lib.getExe package)}"; + name = "Default ${name}"; terminal = false; + settings = { NoDisplay = "true"; };