1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-25 21:25:39 +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=? brightness=?
get_brighntess() { 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() { set_brightness() {