1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

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