Add eww/sh/actions/brightness/brit_dec.sh
This commit is contained in:
parent
ff07a98914
commit
c91e7b9427
8
eww/sh/actions/brightness/brit_dec.sh
Normal file
8
eww/sh/actions/brightness/brit_dec.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $(xbacklight -get) -ge 6 ]]; then
|
||||||
|
xbacklight -dec 5
|
||||||
|
else
|
||||||
|
xbacklight -set 1
|
||||||
|
fi
|
||||||
|
/home/lcm/.config/eww/sh/osd/osd.sh osd_bri
|
Loading…
Reference in New Issue
Block a user