Skip to content

Commit

Permalink
kanshi: dont write config if unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
teto committed Dec 11, 2024
1 parent 3d49b8d commit 6274925
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/services/kanshi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ let
else
throw "Unknown tags ${attrNames x}";

directivesStr = ''
${concatStringsSep "\n" (map tagToStr cfg.settings)}
'';
directivesStr = concatStringsSep "\n" (map tagToStr cfg.settings);

oldDirectivesStr = ''
${concatStringsSep "\n"
Expand Down

0 comments on commit 6274925

Please sign in to comment.