dotfiles/dot_config/waybar/executable_brightness-down.sh

3 lines
84 B
Bash
Raw Permalink Normal View History

2023-07-12 23:18:47 +02:00
WERT=$1
brightnessctl set ${WERT}%- | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > /tmp/wob