mirror of
https://github.com/pgrondek/config.git
synced 2024-11-22 03:53:43 +00:00
[i3] Fix brithness block
This commit is contained in:
parent
8594cf01d5
commit
2d94e47083
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user