It took many hours of googling, searching through conky documentation, and analyzing others' config files to get my conky sceen.

I figured out how to display my NAS drive under Disk Usage > Data, but only when it's mounted to my system, otherwise Data is the last entry. I was surprised I could use an if / endif statement in the TEXT section. Anyway, to my question. Does anyone know how I can format the Memory > /dev/zram0 and zram 1 lines so the bytes are in MB? The output is actually
	, but I could have just as easily used "swapon -s" instead of the cat command. The challenge is that the outputs cannot be formatted the way I want.  
I've been looking for some kind of string command or format command in conky, but so far no joy. I'd be happy to upload the config file if anyone is interested.
					I figured out how to display my NAS drive under Disk Usage > Data, but only when it's mounted to my system, otherwise Data is the last entry. I was surprised I could use an if / endif statement in the TEXT section. Anyway, to my question. Does anyone know how I can format the Memory > /dev/zram0 and zram 1 lines so the bytes are in MB? The output is actually
Code:
	
	${execi 6000 cat /proc/swaps |grep -m 1 'zram0' |awk '{print $4" / "$3}'}
I've been looking for some kind of string command or format command in conky, but so far no joy. I'd be happy to upload the config file if anyone is interested.










							
						
, I use conky to watch my RAM and CPU usage, notify me if I've forgotten to make a snapshot or backup, and show me my external IP address (so I can tell at an glance if my VPN is on), monitor drive usage, and notify me if a reboot is required after an update. The thing that's really cool about conky is it just sits there. I can glance at it when I want but it is literally a part of the desktop when I'm not looking at it.
Comment