1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2025-10-25 09:37:05 -05:00

turn off brightness on idle

This commit is contained in:
Kaan Barmore-Genç 2022-03-09 22:09:09 -05:00
parent 7ce186b21d
commit f73870b141

View file

@ -51,8 +51,8 @@ exec bash -c "/usr/lib/xdg-desktop-portal -r & /usr/lib/xdg-desktop-portal-wlr"
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
#exec swayidle -w \
# timeout 1200 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
exec swayidle -w \
timeout 1200 '/home/kaan/.config/sway/backlight.py --off' resume '/home/kaan/.config/sway/backlight.py +10'
### Idle configuration
#