From 2d94e47083700c54da905d152670e7bf8f6d8e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Grondek?= Date: Thu, 14 Nov 2019 11:51:15 +0100 Subject: [PATCH] [i3] Fix brithness block --- i3/i3blocks/blocks/brightness | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/i3blocks/blocks/brightness b/i3/i3blocks/blocks/brightness index cca2282..228b517 100755 --- a/i3/i3blocks/blocks/brightness +++ b/i3/i3blocks/blocks/brightness @@ -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() {