Originally Posted by
Friqenstein
So it would appear that I am up a creek w/out a paddle.
No sir, your paddle in this case is called: colorize.sh
Crinos512 wrote that bash script to do exactly what you want before conky had ${if_match}. It can be used for "anything" that outputs a NUMBER.
Let us know how it works for you.
IE:
Code:
13:20:11 ~
$ nvidia-settings -q gpucoretemp
Attribute 'GPUCoreTemp' (sector11:0.0): 40.
'GPUCoreTemp' is an integer attribute.
'GPUCoreTemp' is a read-only attribute.
'GPUCoreTemp' can use the following target types: X Screen, GPU.
13:20:14 ~
$ nvidia-settings -q gpucoretemp | grep Attribute | cut --characters 41-42
:
13:22:11 ~
$ nvidia-settings -q gpucoretemp | grep Attribute | cut --characters 41-45
: 40.
13:22:27 ~
$ nvidia-settings -q gpucoretemp | grep Attribute | cut --characters 44-45
0.
13:22:34 ~
$ nvidia-settings -q gpucoretemp | grep Attribute | cut --characters 43-44
40
13:22:49 ~
$
Code:
${execpi 8 sh -c "DISPLAY=:0.0 nvidia-settings -q gpucoretemp | grep Attribute | cut --characters 43-44" | xargs ~/Conky/scripts/<span style="color: #800000;">ColorTempGPU.sh</span>}°
Bookmarks