diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-24 20:35:27 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-24 20:35:27 +0900 |
| commit | c80a54e42b52ce297f0f2f71af23c562832025c7 (patch) | |
| tree | dcce8bb977a770f473325d48f6f70b21d9818a40 /mac/.local | |
init
Diffstat (limited to 'mac/.local')
| -rwxr-xr-x | mac/.local/bin/menu | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mac/.local/bin/menu b/mac/.local/bin/menu new file mode 100755 index 0000000..32fcfff --- /dev/null +++ b/mac/.local/bin/menu @@ -0,0 +1,15 @@ +#!/bin/bash + +query="switch" + +if [ "$query" == "switch" ]; then + osascript <<EOF +tell application "System Events" + tell dock preferences + set autohide menu bar to not autohide menu bar + end tell +end tell + +display notification "Menu bar autohide feature is toggled" with title "Menu Bar Autohide" +EOF +fi |
