sb

shitty bar for dwm
git clone git://git.ckyln.com/~cem/sb.git
Log | Files | Refs | README | LICENSE

commit a957ca1404434f91962fe44c6c11b973bbdd4b2d
parent dea04f0632be2f4774c93f0f49d9478d1234a5ac
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 26 Dec 2019 10:56:17 +0300

brightness: add percentage

Diffstat:
Mfunc/sb_brightness | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/func/sb_brightness b/func/sb_brightness @@ -2,6 +2,6 @@ brightness() { printf "BRI: " - xbacklight -get 2>/dev/null | cut -d . -f 1 | tr '\n' ' ' || return 1 - printf "$DELIMETER " + xbacklight -get 2>/dev/null | cut -d . -f 1 | tr '\n' '%% ' || return 1 + printf " $DELIMETER " }