mirror of
https://github.com/pjones/plasma-manager.git
synced 2024-10-26 16:39:15 +03:00
Add persistence to keys modified by startup-scripts from the workspace module (#174)
This commit is contained in:
parent
2376f81f89
commit
8d917ef0a0
@ -169,6 +169,14 @@ in
|
||||
'';
|
||||
priority = 1;
|
||||
};
|
||||
# We add persistence to some keys in order to not reset the themes on
|
||||
# each generation when we use overrideConfig.
|
||||
programs.plasma.configFile.kcminputrc.Mouse.cursorTheme.persistent = lib.mkDefault (cfg.workspace.cursorTheme != null);
|
||||
programs.plasma.configFile.kdeglobals.General.ColorScheme.persistent = lib.mkDefault (cfg.workspace.colorScheme != null);
|
||||
programs.plasma.configFile.kdeglobals.General.ColorSchemeHash.persistent = lib.mkDefault (cfg.workspace.colorScheme != null);
|
||||
programs.plasma.configFile.kdeglobals.Icons.Theme.persistent = lib.mkDefault (cfg.workspace.iconTheme != null);
|
||||
programs.plasma.configFile.kdeglobals.KDE.LookAndFeelPackage.persistent = lib.mkDefault (cfg.workspace.lookAndFeel != null);
|
||||
programs.plasma.configFile.plasmarc.Theme.name.persistent = lib.mkDefault (cfg.workspace.theme != null);
|
||||
})
|
||||
(lib.mkIf (cfg.workspace.wallpaper != null) {
|
||||
# We need to set the wallpaper after the panels are created in order for
|
||||
|
Loading…
Reference in New Issue
Block a user