1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-22 12:03:43 +00:00

[i3] Fix brithness block

This commit is contained in:
Przemysław Grondek 2019-11-14 11:51:15 +01:00
parent 8594cf01d5
commit 2d94e47083

View File

@ -4,7 +4,7 @@ output=eDP-1
brightness=?
get_brighntess() {
brightness=$(xrandr --verbose | grep Brightness | awk '{printf "%d", $2*100}')
brightness=$(xrandr --verbose | grep -m 1 Brightness | awk '{printf "%d", $2*100}')
}
set_brightness() {