#! /bin/sh icon=󰘲 bfg=^b#292541^ tfg=^c#cc241d^ reset=^d^ cmd=$(cat /sys/class/leds/input3::capslock/brightness) if [[ "$cmd" == "1" ]]; then echo "$tfg$tbg $icon $reset" else echo "" fi