dotfiles/dot_config/waybar/executable_brightness-down.sh

2 lines
84 B
Bash

WERT=$1
brightnessctl set ${WERT}%- | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > /tmp/wob