Configuration file for dwm-bar on macbook air
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
265 B

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