From 4962c1bb03c6e8da9ae48e33a3dad497d832a208 Mon Sep 17 00:00:00 2001 From: Cookiez Date: Tue, 24 Mar 2026 09:22:18 +0100 Subject: [PATCH] Plasma manager now longer overrides everything. New aliases for searching plasma settings differences --- other/aliases | 3 ++- plasma/settings/common.nix | 2 +- plasma/settings/desktop.nix | 9 ++++++--- plasma/settings/laptop.nix | 6 +++--- plasma/settings/powerProfile.nix | 2 -- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/other/aliases b/other/aliases index 597847f..dad9d77 100644 --- a/other/aliases +++ b/other/aliases @@ -26,7 +26,8 @@ alias nix-clear="sudo nix-store --gc" #KDE Plasma Specific #----- -alias kde-theme-apply="source $HOME/NixOS/plasma/konsave.sh" +alias plasma-snap="cp ~/.config/plasma-org.kde.plasma.desktop-appletsrc ~/appletsrc.snap" +alias plasma-diff="diff ~/appletsrc.snap ~/.config/plasma-org.kde.plasma.desktop-appletsrc" #LaTeX Commands alias makepdf="makeglossaries main && pdflatex main.tex" diff --git a/plasma/settings/common.nix b/plasma/settings/common.nix index 221a840..96f0354 100644 --- a/plasma/settings/common.nix +++ b/plasma/settings/common.nix @@ -9,7 +9,7 @@ programs = { plasma = { enable = true; - overrideConfig = true; + overrideConfig = false; input.mice = [ { diff --git a/plasma/settings/desktop.nix b/plasma/settings/desktop.nix index dce5deb..600fead 100644 --- a/plasma/settings/desktop.nix +++ b/plasma/settings/desktop.nix @@ -8,10 +8,9 @@ }: { programs = { plasma = { - overrideConfig = true; - panels = [ { + screen = "all"; height = 44; location = "bottom"; alignment = "center"; @@ -111,7 +110,8 @@ theme = "Win10OS-cursors"; size = 24; }; - wallpaper = /home/${username}/${project}/other/wallpaper1.png; + # Do not use wallpaper option here as it causes issues! Use it in configFile + # wallpaper = /home/${username}/${project}/other/wallpaper1.png; soundTheme = "ocean"; iconTheme = "We10X"; splashScreen = { @@ -122,6 +122,9 @@ theme = "__aurorae__svg__Win11OS-dark"; }; }; + configFile = { + plasmarc.Wallpapers.usersWallpapers = "/home/cookiez/NixOS/other/wallpaper1.png"; + }; }; }; } diff --git a/plasma/settings/laptop.nix b/plasma/settings/laptop.nix index 865c554..bb48c1c 100644 --- a/plasma/settings/laptop.nix +++ b/plasma/settings/laptop.nix @@ -8,10 +8,9 @@ }: { programs = { plasma = { - overrideConfig = true; - panels = [ { + screen = "all"; height = 44; location = "top"; alignment = "center"; @@ -134,7 +133,8 @@ theme = "Breeze_Light"; size = 24; }; - wallpaper = /home/${username}/${project}/other/wallpaper3.png; + # Do not use wallpaper option here as it causes issues! Use it in configFile + # wallpaper = /home/${username}/${project}/other/wallpaper3.png; soundTheme = "freedesktop"; iconTheme = "Breeze-LaCapitaine-apps"; splashScreen = { diff --git a/plasma/settings/powerProfile.nix b/plasma/settings/powerProfile.nix index 9f0dbd4..2c915fd 100644 --- a/plasma/settings/powerProfile.nix +++ b/plasma/settings/powerProfile.nix @@ -23,8 +23,6 @@ in { programs = { plasma = { - overrideConfig = true; - powerdevil = { AC = { powerProfile = selectedProfile.AC.powerProfile;