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