a lot of applications seem to hardcode this location, so it's better to have something default, or default-adjasoned.
5 lines
244 B
Bash
Executable File
5 lines
244 B
Bash
Executable File
#!/usr/bin/sh
|
|
br=$(brightnessctl set 5%+ |
|
|
grep '%' | awk '{print $4}' | sed 's/[^0-9]//g')
|
|
notify-send -i display-brightness-symbolic -u low -h int:value:"$br" -h string:x-dunst-stack-tag:'brightnessctl' -a 'brightnessctl' "brightness: $br%"
|