mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-21 03:04:38 +10:00
Fixing temp in conky
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Main
|
||||
cpuTemp=$(sensors | grep Tctl | awk -F '+' '{print $2}')
|
||||
cpuTemp=$(sensors | grep Tctl | head -1 | awk -F '+' '{print $2}')
|
||||
|
||||
if [[ -n $cpuTemp ]]; then
|
||||
echo "$cpuTemp";
|
||||
|
||||
Reference in New Issue
Block a user