Kde: change gtk2 config location
This commit is contained in:
parent
37dcf27b05
commit
749476efcc
1 changed files with 39 additions and 28 deletions
|
|
@ -85,7 +85,17 @@ in
|
|||
environment.systemPackages = [ breezeTint lookAndFeel plasmaDefaults ];
|
||||
|
||||
# Plasma configs should be on all users
|
||||
home-manager.sharedModules = [{
|
||||
home-manager.sharedModules = [
|
||||
(
|
||||
{ config, ... }:
|
||||
let gtk2rc = "${config.xdg.configHome}/gtk-2.0/gtkrc"; in
|
||||
{
|
||||
gtk.gtk2.configLocation = gtk2rc;
|
||||
# Kde has an annoying habit of overwriting the gtk2 config file
|
||||
home.file."${gtk2rc}".force = true;
|
||||
}
|
||||
)
|
||||
{
|
||||
imports = [ flakeSelf.inputs.plasma-manager.homeManagerModules.plasma-manager ];
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
|
@ -116,5 +126,6 @@ in
|
|||
"plasmanotifyrc"."Notifications"."NormalAlwaysOnTop" = true;
|
||||
};
|
||||
};
|
||||
}];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue