-
Notifications
You must be signed in to change notification settings - Fork 0
Examples
Naturally you have to write some wrapper scripts around the thor-cli command to make it usefull. These scripts can then be mapped to special keys with either your window manager or programs such as xbindkeys. This page will show some of the most common examples.
This script is pretty straightforward. It simply reads the actual brightness and calls thor-cli to visualize them. If your hardware doesn't handle the brightness keys by itself, you can for example write a acpid handler script.
This script uses amixer to raise/lower/mute the Master setting and displays the resulting volume. The muted volume will be unmuted as soon as any volume key is pressed.
This does the same as the above. The only difference is, that volume stays muted until the mute command is called again.