aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2025-06-16 18:35:57 +0200
committerPhilip Wittamore <philip@wittamore.com>2025-06-16 18:35:57 +0200
commite19d88eba8b5e38f552e9a19eb9d96174a222b67 (patch)
treeaa152e5495e9aab8ddebfba564b3aa92b6671d69
parentcf0145930d52652d8a6631cf97b31d5c5b66930d (diff)
downloadscripts-e19d88eba8b5e38f552e9a19eb9d96174a222b67.tar.gz
scripts-e19d88eba8b5e38f552e9a19eb9d96174a222b67.tar.bz2
scripts-e19d88eba8b5e38f552e9a19eb9d96174a222b67.zip
update
-rwxr-xr-xpw-battery4
-rwxr-xr-xpw-biff2
-rwxr-xr-xpw-cputemp2
-rwxr-xr-xpw-fan2
4 files changed, 5 insertions, 5 deletions
diff --git a/pw-battery b/pw-battery
index 275ef28..88ead29 100755
--- a/pw-battery
+++ b/pw-battery
@@ -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")
diff --git a/pw-biff b/pw-biff
index 40265e4..498a02b 100755
--- a/pw-biff
+++ b/pw-biff
@@ -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"
diff --git a/pw-cputemp b/pw-cputemp
index d2757bb..050c90a 100755
--- a/pw-cputemp
+++ b/pw-cputemp
@@ -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 ┊"
diff --git a/pw-fan b/pw-fan
index 32bd694..d2fa891 100755
--- a/pw-fan
+++ b/pw-fan
@@ -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 ┊"