diff options
| author | Philip Wittamore <philip@wittamore.com> | 2025-06-28 00:36:47 +0200 |
|---|---|---|
| committer | Philip Wittamore <philip@wittamore.com> | 2025-06-28 00:36:47 +0200 |
| commit | 4790f80cfc5bd977b336f4a3e112ae9faeafb6bc (patch) | |
| tree | 249530d9edbfb12bf9e5085685ee0cd1dfe0344b /pw-fan | |
| parent | 28dd2120a2551af6b901d37e66d23359298ec603 (diff) | |
| download | scripts-4790f80cfc5bd977b336f4a3e112ae9faeafb6bc.tar.gz scripts-4790f80cfc5bd977b336f4a3e112ae9faeafb6bc.tar.bz2 scripts-4790f80cfc5bd977b336f4a3e112ae9faeafb6bc.zip | |
update
Diffstat (limited to 'pw-fan')
| -rwxr-xr-x | pw-fan | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,10 +1,8 @@ #!/usr/bin/env bash -# requires joypixels font in dwm config.def.h +# uses Nerdfonts # Try different fan sensors FAN_SPEED=$(sensors | awk '/^fan|^cpu_fan/ {print $2}') -[ -z "$FAN_SPEED" ] && FAN_SPEED="N/A" - -# Send to bar -echo -e " $FAN_SPEED ┊" +[ -z "$FAN_SPEED" ] || echo -e " $FAN_SPEED \uE0b1" +exit 0 |
