From f32845138e5e7a9589c5afa0c20561ae41560f05 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Tue, 14 May 2024 11:20:51 +0800 Subject: [PATCH] feat(plasma): home-manager cursor and image --- home/plasma/home.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/home/plasma/home.nix b/home/plasma/home.nix index ce5fdef6..09920f4d 100644 --- a/home/plasma/home.nix +++ b/home/plasma/home.nix @@ -3,15 +3,16 @@ , config , ... }: with lib; let cfg = config.passthrough.plasma; + image = ../../share/54345906_p0.jpg; in mkIf cfg.enable { programs.plasma = { # https://github.com/pjones/plasma-manager enable = true; - overrideConfig = true; + #overrideConfig = true; workspace = { lookAndFeel = "org.kde.breezedark.desktop"; - wallpaper = ../../share/54345906_p0.jpg; + wallpaper = image; }; hotkeys.commands = { @@ -24,19 +25,15 @@ in mkIf cfg.enable { configFile = { baloofilerc."Basic Settings"."Indexing-Enabled" = false; + kwalletrc.Wallet.Enabled = false; + kscreenlockerrc.Greeter.Wallpaper."org.kde.image".General.Image = image; + kscreenlockerrc.Greeter.Wallpaper."org.kde.image".General.PreviewImage = image; }; } // cfg.extraConfig; qt.enable = false; qt.platformTheme.name = null; - # cursor theme - home.pointerCursor = { - package = pkgs.kdePackages.breeze; - name = "breeze_cursors"; - size = 24; - }; - # gtk theme gtk.theme = { package = pkgs.kdePackages.breeze-gtk;