dwmbar/modules/backlight

13 lines
144 B
Text
Raw Normal View History

2019-10-21 19:46:13 +00:00
#!/bin/bash
# Prints the backlight percentage
PREFIX='ﯧ'
get_backlight()
{
echo "$PREFIX $(light | sed 's/\..*//g')%"
}
get_backlight