Skip to content

Commit

Permalink
refactor(home-manager/waybar): remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Lichthagel committed Apr 29, 2024
1 parent 9e34436 commit 992f1c3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/home-manager/waybar.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ in
config = lib.mkIf enable (
lib.mkMerge [
(lib.mkIf (cfg.mode == "prependImport") {
warnings =
lib.optional (options.programs.waybar.style.highestPrio < lib.modules.defaultOverridePriority)
"`programs.waybar.style` is set to a string with a lower priority value than the default ${toString lib.modules.defaultOverridePriority}. `programs.waybar.catppucccin.mode = \"prependImport\"` will have no effect.";

programs.waybar.style = lib.mkBefore ''
@import "${styleFile}";
'';
Expand Down

0 comments on commit 992f1c3

Please sign in to comment.