dwmbar/modules/backlight
2023-03-01 14:19:30 +05:30

13 lines
165 B
Bash
Executable file

#!/bin/bash
# Prints the backlight percentage
# Requires the light package
PREFIX='ﯧ'
get_backlight()
{
echo "$PREFIX $(xbacklight -get)%"
}
get_backlight