dotfiles/.local/bin/backlight

5 lines
83 B
Text
Raw Normal View History

2023-12-20 22:52:16 -05:00
#!/bin/sh
prev=$(xbacklight -get)
xbacklight -steps 100 -time 200 $(($prev + $1))