1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

defaults: restart Dock when changing settings

This commit is contained in:
Michael Hoang 2024-07-10 12:42:42 +10:00
parent fabc653517
commit ce130f4b20

View file

@ -107,6 +107,11 @@ in
${concatStringsSep "\n" universalaccess}
${concatStringsSep "\n" ActivityMonitor}
${concatStringsSep "\n" CustomUserPreferences}
${optionalString (length dock > 0) ''
echo >&2 "restarting Dock..."
killall Dock
''}
'';
};