Commit 60b0e02

HPCesia <me@hpcesia.com>
2025-10-15 17:26:22
feat: update noctalia shell config
1 parent 9beff50
Changed files (3)
modules
desktop
desktop-environment
modules/desktop/desktop-environment/discrete/shell/noctalia/bar.nix
@@ -15,10 +15,6 @@
           }
         ];
         left = [
-          {
-            id = "ControlCenter";
-            useDistroLogo = true;
-          }
           {id = "SystemMonitor";}
           {id = "ActiveWindow";}
           {
@@ -40,8 +36,6 @@
             hideWhenZero = true;
             showUnreadBadge = true;
           }
-          {id = "WiFi";}
-          {id = "Bluetooth";}
           {id = "Volume";}
           {id = "Brightness";}
           {id = "Battery";}
@@ -50,6 +44,10 @@
             formatHorizontal = "yyyy年M月d日 HH:mm";
             formatVertical = "yyyy年M月d日 dddd-AP HH:mm:ss";
           }
+          {
+            id = "ControlCenter";
+            useDistroLogo = true;
+          }
         ];
       };
     };
modules/desktop/desktop-environment/discrete/shell/noctalia/colors.nix
@@ -1,5 +1,7 @@
 {
   flake.modules.homeManager.de-shell-noctalia = {config, ...}: {
+    programs.noctalia-shell.settings.colorSchemes.darkMode = config.lib.stylix.colors.variant;
+
     programs.noctalia-shell.colors = {
       mPrimary = config.lib.stylix.colors.base0E;
       mOnPrimary = config.lib.stylix.colors.base11;
modules/desktop/desktop-environment/discrete/shell/noctalia/control-center.nix
@@ -0,0 +1,18 @@
+{
+  flake.modules.homeManager.de-shell-noctalia = _: {
+    programs.noctalia-shell.settings.controlCenter = {
+      shortcuts = {
+        left = [
+          {id = "WiFi";}
+          {id = "Bluetooth";}
+          {id = "Notifications";}
+        ];
+        right = [
+          {id = "PowerProfile";}
+          {id = "NightLight";}
+          {id = "KeepAwake";}
+        ];
+      };
+    };
+  };
+}