Workaround hiding HUD (Big Sur) #23
Replies: 2 comments 2 replies
-
For hiding the hud in Big Sur I used this: To turn off bezels for this user until next login: For macOS 10.12 Sierra: Disable System Integrity protection, then: To turn off bezels indefinitely for this user: For macOS 10.12 Sierra: Disable System Integrity protection, then: To undo, change unload to load. To turn off bezels indefinitely for all users: For macOS 10.11 Sierra: Disable System Integrity protection before doing the above. To undo, change YES to NO, or: For macOS 10.12 Sierra: Disable System Integrity protection, then: To undo, change YES to NO, or: Users can override this global setting using the two methods above. |
Beta Was this translation helpful? Give feedback.
-
Small update: Note: due to changes in my signing certificates, this update can't be installed automatically so you'll have to download it manually |
Beta Was this translation helpful? Give feedback.
-
This is not a real issue but just a workaround for "hiding" the macOS default HUD for changing brightness and volume since I'm not brave enough for the method mentioned here #22 (comment).
This method actually doesn't hide the HUD but uses other tools and keys to trigger volume/brightness changes.
The cons of this method:
The pros:
Prerequisite:
How to:
Compile the brightness command line tool (https://github.com/nriley/brightness).
It is important to compile the programm from the github source and not use homebrew. The homebrew source is old and not maintained.
Install skhd following it's Github readme (https://github.com/koekeishiya/skhd).
Add these lines to the default skhd configurations file:
(If you don't have ggrep install it with: brew install grep)
How it works
The brightness program is used to read and change the current brightness levels via shell. Apples osascript is used to modify the volume levels. Skhd is a powerful hot key daemon which executes the above shell commands to change the volume/brightness levels on key press.
Update
You can mute/unmute with this addition to the skhd config:
f10 : flag=$(osascript -e 'output muted of (get volume settings)'); if [ "$flag" = true ]; then osascript -e 'set volume output muted false'; echo "laut"; else osascript -e 'set volume output muted true'; echo "stumm";fi
Beta Was this translation helpful? Give feedback.
All reactions