diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-06-16 18:35:57 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-06-16 18:35:57 +0200 |
commit | e19d88eba8b5e38f552e9a19eb9d96174a222b67 (patch) | |
tree | aa152e5495e9aab8ddebfba564b3aa92b6671d69 | |
parent | cf0145930d52652d8a6631cf97b31d5c5b66930d (diff) | |
download | scripts-e19d88eba8b5e38f552e9a19eb9d96174a222b67.tar.gz scripts-e19d88eba8b5e38f552e9a19eb9d96174a222b67.tar.bz2 scripts-e19d88eba8b5e38f552e9a19eb9d96174a222b67.zip |
update
-rwxr-xr-x | pw-battery | 4 | ||||
-rwxr-xr-x | pw-biff | 2 | ||||
-rwxr-xr-x | pw-cputemp | 2 | ||||
-rwxr-xr-x | pw-fan | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -28,7 +28,7 @@ for battery in /sys/class/power_supply/BAT?*; do case "$(cat "$battery/status" 2>&1)" in "Full") - status="⚡" + status="⚡🔋" ;; "Discharging") @@ -42,7 +42,7 @@ for battery in /sys/class/power_supply/BAT?*; do ;; "Not charging") - status="♻️" + status="♻" ;; "Unknown") @@ -18,7 +18,7 @@ if (("$mailcount" > 0)); then /usr/local/bin/dunstify \ -t 5000 \ -a "You have mail" \ - -u normal \ + -u critical \ -i internet-mail-symbolic \ -h string:x-dunst-stack-tag:Mail "$1 has mail: $mailcount messages" @@ -22,5 +22,5 @@ fi [ -z "$CPU_TEMP" ] && CPU_TEMP="N/A" # Send to bar -echo -e "🌡️ $CPU_TEMP°C ┊" +echo -e " 🌡$CPU_TEMP°C ┊" @@ -6,5 +6,5 @@ FAN_SPEED=$(sensors | awk '/^fan|^cpu_fan/ {print $2}') [ -z "$FAN_SPEED" ] && FAN_SPEED="N/A" # Send to bar -echo -e " 🌀 $FAN_SPEED ᵣₚₘ ┊" +echo -e " $FAN_SPEED ┊" |