aboutsummaryrefslogtreecommitdiff
path: root/pw-systemstats
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2025-06-04 09:46:28 +0200
committerPhilip Wittamore <philip@wittamore.com>2025-06-04 09:46:28 +0200
commit669b6b86a128f7559b257e69f07e610e26d0cd23 (patch)
tree9b09193bb2ec1fb083ede6458be226314b918e4a /pw-systemstats
parent3430f835adb2a015c6b5eb66eb8fdf118d760c42 (diff)
downloadscripts-669b6b86a128f7559b257e69f07e610e26d0cd23.tar.gz
scripts-669b6b86a128f7559b257e69f07e610e26d0cd23.tar.bz2
scripts-669b6b86a128f7559b257e69f07e610e26d0cd23.zip
update
Diffstat (limited to 'pw-systemstats')
-rwxr-xr-xpw-systemstats5
1 files changed, 4 insertions, 1 deletions
diff --git a/pw-systemstats b/pw-systemstats
index 521b3a3..76cec99 100755
--- a/pw-systemstats
+++ b/pw-systemstats
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# requires joypixels font in dwm config.def.h
CPU_TEMP=$(sensors | awk '
/^Tdie|^Package id|^Core 0|^CPU|^temp1/ {
@@ -27,9 +28,11 @@ FAN_SPEED=$(sensors | awk '/^fan|^cpu_fan/ {print $2}')
# Send to bar
-echo " 󰈐 $FAN_SPEED   $CPU_TEMP°C"
+echo " 🌀 $FAN_SPEED ┊ 🌡️ $CPU_TEMP󰔄"
# Clicking on bar
case $BLOCK_BUTTON in
1) notify-send "$(sensors)";;
+ 2) notify-send "button 2 clicked";;
+ 3) notify-send "button 3 clicked";;
esac