stalonetray: move config file to XDG_CONFIG_HOME

This commit is contained in:
h7x4 2024-06-23 21:11:25 +02:00 committed by Robert Helgesson
parent d2f631a96e
commit 6b1f90a8ff
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -74,7 +74,7 @@ in {
}
(mkIf (cfg.config != { }) {
home.file.".stalonetrayrc".text = let
xdg.configFile."stalonetrayrc".text = let
valueToString = v:
if isBool v then
(if v then "true" else "false")
@ -88,7 +88,7 @@ in {
})
(mkIf (cfg.extraConfig != "") {
home.file.".stalonetrayrc".text = cfg.extraConfig;
xdg.configFile."stalonetrayrc".text = cfg.extraConfig;
})
]);
}