Last active
January 16, 2017 16:41
-
-
Save joeybaker/1d32226d928d05a95860 to your computer and use it in GitHub Desktop.
plist file to restart SystemUIServer to work around mavericks silliness
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -o ~/Library/LaunchAgents/restart_systemuiserver.plist https://gist.githubusercontent.com/joeybaker/1d32226d928d05a95860/raw/483d41b06427f524b5df0c4d224fb0e2e8ba14e9/restart_systemuiserver.plist \ | |
&& launchctl load ~/Library/LaunchAgents/restart_systemuiserver.plist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>restart_systemuiserver</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>killall</string> | |
<string>SystemUIServer</string> | |
</array> | |
<key>StartInterval</key> | |
<integer>3600</integer> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment