1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-13 20:30:02 +00:00

Merge pull request #999 from Enzime/restart-dock

defaults: restart Dock when changing settings
This commit is contained in:
Michael Hoang 2024-07-18 12:43:02 +10:00 committed by GitHub
commit a3e4a7b8ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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
''}
'';
};