ctucx.git: nixfiles

ctucx' nixfiles

commit 9f9ce840ce75eb4e297eb63aabce332a777e1247
parent cf0abac60133a918fef2c00d4c155467d20cadac
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 12 Jan 2022 18:00:19 +0100

configuration/bluetooth: hide bueman's desktop-entry for "adapters"
1 file changed, 15 insertions(+), 0 deletions(-)
M
configurations/bluetooth.nix
|
15
+++++++++++++++
diff --git a/configurations/bluetooth.nix b/configurations/bluetooth.nix
@@ -13,6 +13,21 @@
   home-manager.users.leah = {
     home.packages = [ pkgs.blueman ];
 
+    xdg = {
+      desktopEntries = {
+        blueman-adapters = {
+          name        = "Bluetooth Adapters";
+          icon        = "blueman-device";
+          exec        = "blueman-adapters";
+          terminal    = false;
+          categories  = [ "X-XFCE" "Settings" "HardwareSettings" "X-XFCE-SettingsDialog" "GTK" ];
+          settings    = {
+            NoDisplay = "true";
+          };
+        };
+      };
+    };
+
     wayland.windowManager.sway.extraConfig = ''
       exec_always 'systemctl --user restart blueman-applet'
     '';