Commit 4e93120

HPCesia <me@hpcesia.com>
2025-07-27 03:51:08
feat: update plasma config
1 parent 86cabde
Changed files (5)
home/linux/gui/plasma/options/appearance.nix
@@ -19,5 +19,32 @@ in {
       theme = "breeze-dark";
       colorScheme = "CatppuccinMacchiatoMauve";
     };
+
+    panels = [
+      {
+        height = 44;
+        location = "bottom";
+        lengthMode = "fill";
+        alignment = "center";
+        hiding = "none";
+        floating = true;
+        widgets = [
+          "org.kde.plasma.kickoff"
+          "org.kde.plasma.pager"
+          "org.kde.plasma.icontasks"
+          "org.kde.plasma.marginsseparator"
+          "org.kde.plasma.systemtray"
+          "org.kde.plasma.digitalclock"
+          "org.kde.plasma.showdesktop"
+        ];
+        screen = "all";
+        opacity = "translucent";
+      }
+    ];
+
+    configFile.dolphinrc.IconsMode = {
+      IconSize = 128;
+      PreviewSize = 128;
+    };
   };
 }
home/linux/gui/plasma/options/configs.nix
@@ -6,5 +6,15 @@
         TerminalService = "org.wezfurlong.wezterm.desktop";
       };
     };
+    plasma-localerc = {
+      Formats.LANG = "zh_CN.UTF-8";
+      Translations.LANGUAGE = "zh_CN";
+    };
+    kwinrc = {
+      Wayland.InputMethod = {
+        shellExpand = true;
+        value = "/etc/profiles/per-user/hpcesia/share/applications/fcitx5-wayland-launcher.desktop";
+      };
+    };
   };
 }
home/linux/gui/plasma/application.nix
@@ -5,6 +5,5 @@
 
   services.kdeconnect = {
     enable = true;
-    indicator = true;
   };
 }
home/linux/gui/plasma/default.nix
@@ -7,5 +7,6 @@
 
   programs.plasma = {
     enable = true;
+    overrideConfig = true;
   };
 }
modules/nixos/desktop.nix
@@ -31,6 +31,7 @@
 
   environment.plasma6.excludePackages = with pkgs.kdePackages; [
     konsole
+    kdepim-runtime
     kate
   ];
 }