dunst: Add brightness level notifications

Added notifications on changing brightness, will stack by default to
show the current level before disappearing.

The script to change and notify can be run through the command
`control-brightness`, and is bound to the sxhkd media key shortcuts for
brightness changes.

Removed the brightness indicator from polybar since it should be easy
enough to check current brightness by doing a quick higher-lower and
that's it.

Kept the module in polybar configuration script since I might reconsider
its removal if it turns out to have been useful.
This commit is contained in:
Marty Oehme 2020-12-20 23:13:36 +01:00
parent 0a6f47bc5a
commit d2e44d330d
Signed by: Marty
GPG key ID: B7538B8F50A1C800
4 changed files with 64 additions and 7 deletions

View file

@ -19,7 +19,7 @@ super + F7
# enable function (/media) key functionality
XF86MonBrightness{Up,Down}
xbacklight {-inc,-dec} 10
control-brightness {up, down} 10
XF86AudioMute
pavolume mutetoggle
XF86Audio{LowerVolume,RaiseVolume}