File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 5454 if [ $check_dock == " Yes" ]
5555 then
5656 echo " Clammshellmode: Yes, autohide: off."
57+ osascript -e " tell application \" System Events\" to set the autohide of the dock preferences to false"
58+
5759 if [ " $1 " == " -n" ]
5860 then
59- osascript -e " tell application \" System Events\" to set the autohide of the dock preferences to false"
6061 osascript -e ' display notification "Device in closed-lid mode, Dock autohide: off." with title "Intellidock"'
6162 fi
6263 # If not in clamshell mode, enable autohide dock
6364 else
6465 echo " Clamshellmode: No, autohide: on."
66+ osascript -e " tell application \" System Events\" to set the autohide of the dock preferences to true"
67+
6568 if [ " $1 " == " -n" ]
6669 then
67- osascript -e " tell application \" System Events\" to set the autohide of the dock preferences to true"
6870 osascript -e ' display notification "Device lid opened, Dock autohide: on." with title "Intellidock"'
6971 fi
7072 fi
You can’t perform that action at this time.
0 commit comments