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:
parent
8594cf01d5
commit
2d94e47083
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user