dwmbar/modules/backlight
2019-10-21 21:01:29 +01:00

13 lines
173 B
Bash
Executable file

#!/bin/bash
# Prints the backlight percentage
# Requires the light package
PREFIX='ﯧ'
get_backlight()
{
echo "$PREFIX $(light | sed 's/\..*//g')%"
}
get_backlight