aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2023-06-18 19:26:56 -0400
committertdro <tdro@users.noreply.github.com>2023-06-18 19:26:56 -0400
commitc5378a3f71b6d53f7db9c852c43981647cb2f2ff (patch)
treec1e0cbfcad9279f568dc237eba3597d3ec5a831e
parent9418973b00a1bbca50000f7b6cb0b12e81c5b092 (diff)
downloaddotfiles-c5378a3f71b6d53f7db9c852c43981647cb2f2ff.tar.gz
dotfiles-c5378a3f71b6d53f7db9c852c43981647cb2f2ff.tar.bz2
dotfiles-c5378a3f71b6d53f7db9c852c43981647cb2f2ff.zip
.config/awesome/rc: Use core 0 temp
-rw-r--r--.config/awesome/rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index ae522e4..9632c96 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -94,7 +94,7 @@ widget_swap = awful.widget.watch('sh -c "printf \' \' && free --gig
widget_battery = awful.widget.watch('sh -c "printf \' \' && acpi --battery 2>&1 | awk -F, \'{ print $2 }\'"', 5) -- Create battery widget.
widget_date = awful.widget.watch('sh -c "printf \' \' && date \'+%H:%M  %A %B %-d\'"', 1) -- Create date widget.
widget_loadaverage = awful.widget.watch('sh -c "printf \' \' && cat /proc/loadavg | awk -v OFS=\' \' \'{ print $1, $2, $3 }\'"', 5) -- Create load average widget.
-widget_temperature = awful.widget.watch('sh -c "printf \' \' && sensors | awk \'/temp1:/ { print $2 }\' | head -n1"', 5) -- Create temperature widget.
+widget_temperature = awful.widget.watch('sh -c "printf \' \' && sensors | awk \'/Core 0:/ { print $3 }\' | head -n1"', 5) -- Create temperature widget.
widget_traffic_down = awful.widget.watch(
'sh -c "printf \' \'' ..
' && vnstat -tr 2 -i $(ip addr | awk \'/state UP/ { print $2; exit }\' | sed \'s/.$//\') | awk \'/rx/ { print $2, $3 }\'"', 5) -- Create download traffic widget.