aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2022-09-05 11:02:14 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2022-09-05 11:02:14 +0200
commit1ce3bc24f27247b1fcb77beb850cdcf1075e8fc4 (patch)
tree032e8823cecde92fd433030311847fabd3834ddc /config
parent02e7d7887eabb3a74911f6f715d4905f4efa1acf (diff)
downloaddotfiles-1ce3bc24f27247b1fcb77beb850cdcf1075e8fc4.tar.gz
dotfiles-1ce3bc24f27247b1fcb77beb850cdcf1075e8fc4.zip
sway: add pasture cpu temperatur
Diffstat (limited to 'config')
-rw-r--r--config/sway/conkyrc.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/sway/conkyrc.json b/config/sway/conkyrc.json
index f2bcd48..38b9954 100644
--- a/config/sway/conkyrc.json
+++ b/config/sway/conkyrc.json
@@ -16,6 +16,10 @@ conky.text = [[
{"name": "cpuTemperature1", "full_text": "${exec sensors | grep 'temp1' | cut -d" " -f9}",
"separator": false},
{"name": "cpuTemperature2", "full_text": "${exec sensors | grep 'temp2' | cut -d" " -f9}"},
+ ${else}
+ ${if_match "${nodename_short}"=="pasture"}
+ {"name": "cpuTemperature", "full_text": "${exec sensors | grep Tctl | grep -o '[0-9][0-9].[0-9]°C'}"},
+ ${endif}
${endif}
{"name": "cpuStart", "color" : "\#ffffff", "full_text": "CPU:", "separator": false},