This file contains hidden or 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
tell application "HazeOver" | |
set myFocusMode to not enabled | |
set enabled to myFocusMode | |
end tell | |
tell application "System Events" | |
tell dock preferences to set autohide to myFocusMode | |
end tell | |
do shell script "defaults write -g _HIHideMenuBar -bool " & myFocusMode as integer |