Skip to content

Commit

Permalink
swaync: fix style path
Browse files Browse the repository at this point in the history
  • Loading branch information
9p4 authored May 4, 2024
1 parent 9036fe9 commit e0825ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/services/swaync.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ in {
"swaync/config.json".source =
jsonFormat.generate "config.json" cfg.settings;
"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
else
pkgs.writeText "swaync/style.css" cfg.style;
Expand Down

0 comments on commit e0825ea

Please sign in to comment.