dwmblocks/statusbar/dwm_brightness

6 lines
132 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
icon=""
printf "$icon ^c#f7ca88^$(/usr/bin/brightnessctl -m | awk -F, '{print substr($4, 0, length($4)-1)}')%%^d^"