Merge branch 'master' of github:tiyn/dotfiles

master
tiyn 2 years ago
commit 0ede407a5a

@ -8,4 +8,4 @@ status=$(cat /sys/class/power_supply/"$1"/status)
[ "$status" = "Charging" ] && color="#ffffff" [ "$status" = "Charging" ] && color="#ffffff"
printf "%s%s" "$(echo "$status" | sed -e "s/,//;s/Discharging//;s/Not Charging//;s/Charging//;s/Unknown//;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g")" "$warn" "$(echo "$capacity" | sed -e 's/$/%/' ) " printf "%s%s" "$(echo "$status" | sed -e "s/,//;s/Discharging//;s/Not charging//;s/Charging//;s/Unknown//;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g")" "$warn" "$(echo "$capacity" | sed -e 's/$/%/' ) "

Loading…
Cancel
Save