我有这个conky.conf
:
${voffset -10}Memory» $hr${color}
${color1}${goto 35}RAM : ${color}${execi 2 free --si -m|awk '/^Mem/{printf "%.2fGiB",$3/1024}'}/$memmax ${alignr}${execi 2 free --si -m|awk '/^Mem/{printf "%.1f%%", 100*$3/$2}'} \
${execibar 2 free --si -m|awk '/^Mem/{print 100*$3/$2}'}
${color1}${goto 35}SWAP : ${color}$swap/$swapmax $alignr}$swapperc% ${swapbar 4,100}
表明:
但是RAM
和之间有一个空行SWAP
。如何删除它?