Muh dotfiles
This commit is contained in:
4
.config/waybar/scripts/plugged.sh
Executable file
4
.config/waybar/scripts/plugged.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
ICONS=( )
|
||||
STATE=$(cat /sys/class/power_supply/AC/online)
|
||||
echo ${ICONS[$STATE]}
|
Reference in New Issue
Block a user