dotfiles/scripts/brightup
tavo-wasd fd69ecbbe6 init
2023-05-08 20:39:39 -06:00

7 lines
200 B
Bash
Executable file

#!/bin/sh
# Increase brightness by 5%
# Depends on 'community/brightnessctl'
brightness=$(brightnessctl s 5%+ | grep -o "[0-9]*%")
notify-send -u low --replace-id=10 "󰃞 Brightness" "$brightness"