diff options
Diffstat (limited to 'pw-systemstats')
-rwxr-xr-x | pw-systemstats | 5 |
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 |