dotfiles/.local/bin/statusbar/getbright

3 lines
103 B
Plaintext
Raw Normal View History

2020-07-04 14:23:27 +02:00
#!/bin/bash
2020-07-17 15:05:59 +02:00
echo ☀$(bc <<< "scale=0; $(cat /sys/class/backlight/intel_backlight/brightness) /9.37")%