Files
dots/dwm/.dwm/bar/bar-functions/dwm_backlight.sh

14 lines
265 B
Bash
Executable File

#!/bin/sh
# A dwm_bar module to display the current backlight brighness with xbacklight
# Joe Standring <git@joestandring.com>
# GNU GPLv3
# Dependencies: xbacklight
dwm_backlight () {
printf "%s☀ %.0f%s\n" "$SEP1" "$(xbacklight)" "$SEP2"
}
dwm_backlight