swaync: fix style path
This commit is contained in:
parent
9036fe9ef8
commit
e0825ea211
|
@ -84,7 +84,7 @@ in {
|
||||||
"swaync/config.json".source =
|
"swaync/config.json".source =
|
||||||
jsonFormat.generate "config.json" cfg.settings;
|
jsonFormat.generate "config.json" cfg.settings;
|
||||||
"swaync/style.css" = lib.mkIf (cfg.style != null) {
|
"swaync/style.css" = lib.mkIf (cfg.style != null) {
|
||||||
source = if lib.isStorePath cfg.style then
|
source = if builtins.isPath cfg.style || lib.isStorePath cfg.style then
|
||||||
cfg.style
|
cfg.style
|
||||||
else
|
else
|
||||||
pkgs.writeText "swaync/style.css" cfg.style;
|
pkgs.writeText "swaync/style.css" cfg.style;
|
||||||
|
|
Loading…
Reference in a new issue