Code: Select all
unloaded: fbdev,modesetting,vesa gpu: amdgpu resolution: 1: 2560x1440~60Hz
f1 : f2 : f3 : f4
so
should just return
which you can use cut on again using space as a delimiter. So something odd is going on in your inxi output. Try it step by step to figure out what, first just inxi, then with grep and so on.
If conky doesn't like it, put it in a script:
Code: Select all
#!/usr/bin/bash
inxi -G | grep gpu | cut -f3 -d: | cut -f2 -d\
make the script executable and run that with execi in conky. Don't forget there is a space after
-d\
.
There is probably a more elegant way with awk or sed, but you are asking the wrong person.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0