Added Statusbad Commands (Not in correct location)
This commit is contained in:
6
statusbar/dwm_cpu_temp
Executable file
6
statusbar/dwm_cpu_temp
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
icon=""
|
||||
temp=$(echo "scale=0; $(sort -nr /sys/class/thermal/thermal_zone*/temp | head -n1) / 1000" | bc)
|
||||
|
||||
printf "$icon ^c#f7ca88^$((temp))^c#d75f5f^°C^d^"
|
Reference in New Issue
Block a user