right click on modules shows module info
This commit is contained in:
@@ -20,3 +20,13 @@ fi
|
||||
[ "$status" = "Charging" ] && color="#FFF"
|
||||
|
||||
printf "<span color='%s'>%s %s</span>" "$color" "$(echo "$status" | sed -e "s/,//g;s/Discharging/🔋/;s/Charging/🔌/;s/Unknown/♻️/;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g")" "$(echo "$capacity" | sed -e 's/$/%/')"
|
||||
|
||||
case $BLOCK_BUTTON in
|
||||
3) pgrep -x dunst >/dev/null && notify-send "<b>🔋 Battery module:</b>
|
||||
🔋: discharging
|
||||
♻: stagnant charge
|
||||
🔌: charging
|
||||
⚡: charged
|
||||
- Text color reflects charge left" ;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user