Skip to content

Commit

Permalink
Merge pull request #999 from Enzime/restart-dock
Browse files Browse the repository at this point in the history
defaults: restart Dock when changing settings
  • Loading branch information
Enzime committed Jul 18, 2024
2 parents 7522a30 + ce130f4 commit a3e4a7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/system/defaults-write.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ in
${concatStringsSep "\n" universalaccess}
${concatStringsSep "\n" ActivityMonitor}
${concatStringsSep "\n" CustomUserPreferences}
${optionalString (length dock > 0) ''
echo >&2 "restarting Dock..."
killall Dock
''}
'';

};
Expand Down

0 comments on commit a3e4a7b

Please sign in to comment.