mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 16:27:03 +00:00
defaults: restart Dock when changing settings
This commit is contained in:
parent
fabc653517
commit
ce130f4b20
1 changed files with 5 additions and 0 deletions
|
@ -107,6 +107,11 @@ in
|
||||||
${concatStringsSep "\n" universalaccess}
|
${concatStringsSep "\n" universalaccess}
|
||||||
${concatStringsSep "\n" ActivityMonitor}
|
${concatStringsSep "\n" ActivityMonitor}
|
||||||
${concatStringsSep "\n" CustomUserPreferences}
|
${concatStringsSep "\n" CustomUserPreferences}
|
||||||
|
|
||||||
|
${optionalString (length dock > 0) ''
|
||||||
|
echo >&2 "restarting Dock..."
|
||||||
|
killall Dock
|
||||||
|
''}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue