diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2022-09-05 10:35:46 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2022-09-05 10:35:46 +0200 |
| commit | 02e7d7887eabb3a74911f6f715d4905f4efa1acf (patch) | |
| tree | 293da880544647d2cf5d74a384d8d4f9d88b6447 /config/sway | |
| parent | 8881ee1718964309cda76704e212609886051f34 (diff) | |
| download | dotfiles-02e7d7887eabb3a74911f6f715d4905f4efa1acf.tar.gz dotfiles-02e7d7887eabb3a74911f6f715d4905f4efa1acf.zip | |
sway: show cpu temperature only on fishtank
Diffstat (limited to 'config/sway')
| -rw-r--r-- | config/sway/conkyrc.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/sway/conkyrc.json b/config/sway/conkyrc.json index b39b746..f2bcd48 100644 --- a/config/sway/conkyrc.json +++ b/config/sway/conkyrc.json @@ -12,9 +12,11 @@ conky.text = [[ [ ################## cpu ################# + ${if_match "${nodename_short}"=="fishtank"} {"name": "cpuTemperature1", "full_text": "${exec sensors | grep 'temp1' | cut -d" " -f9}", - "separator": false}, + "separator": false}, {"name": "cpuTemperature2", "full_text": "${exec sensors | grep 'temp2' | cut -d" " -f9}"}, + ${endif} {"name": "cpuStart", "color" : "\#ffffff", "full_text": "CPU:", "separator": false}, |
