Closed HokieGeek closed 10 years ago
Or maybe just use unicode:
Try out vertical graphs instead of horizontal. Will look cleaner, I think.. lower one eighth block ▂ lower one quarter block ▃ lower three eighths block ▄ lower half block ▅ lower five eighths block ▆ lower three quarters block ▇ lower seven eighths block █ full block
^fg(\#9F0AC4)\
${if_match ${battery_percent} < 50}^fg(\#FFCC00)${endif}\
${if_match ${battery_percent} < 20}^fg(\#FF0000)${endif}\
${if_match ${battery_percent} >= 98}██${else}\
${if_match ${battery_percent} >= 88}▇▇${else}\
${if_match ${battery_percent} >= 75}▆▆${else}\
${if_match ${battery_percent} >= 63}▅▅${else}\
${if_match ${battery_percent} >= 50}▄▄${else}\
${if_match ${battery_percent} >= 38}▃▃${else}\
${if_match ${battery_percent} >= 25}▂▂\
${else}▁▁
${endif}\${endif}\${endif}\${endif}\${endif}\${endif}\${endif}\${endif}\
^fg(\#FFFFFF)
= Wifi = ^fg(#9F0AC4)\ $(if_match ${wireless_link_qual_perc wlp4s0} >= 98}█${else}\ ${if_match ${wireless_link_qual_perc wlp4s0} >= 88}▉${else}\ ${if_match ${wireless_link_qual_perc wlp4s0} >= 75}▊${else}\ ${if_match ${wireless_link_qual_perc wlp4s0} >= 63}▋${else}\ ${if_match ${wireless_link_qual_perc wlp4s0} >= 50}▌${else}\ ${if_match ${wireless_link_qual_perc wlp4s0} >= 38}▍${else}\ ${if_match ${wireless_link_qual_perc wlp4s0} >= 25}▎\ ${else}▏\ ${endif}\${endif}\${endif}\${endif}\${endif}\${endif}\${endif}\${endif}\ ^fg(#FFFFFF) \
Ok.... dzen doesn't do unicode. So, making xbm then.
For the wifi symbol I shall make... the wifi symbol.
^fg(#9F0AC4)\
$(if_match ${wireless_link_qual_perc wlp4s0} >= 95}^i($HOME/.conky/imgs/wifi_100.xbm)${else}\
${if_match ${wireless_link_qual_perc wlp4s0} >= 75}^i($HOME/.conky/imgs/wifi_75.xbm)${else}\
${if_match ${wireless_link_qual_perc wlp4s0} >= 50}^i($HOME/.conky/imgs/wifi_50.xbm)${else}\
${if_match ${wireless_link_qual_perc wlp4s0} >= 25}^i($HOME/.conky/imgs/wifi_25.xbm)\
${else}^i($HOME/.conky/imgs/wifi_0.xbm)\
${endif}\${endif}\${endif}\${endif}\
^fg(#FFFFFF) \
Look into processing the conky output and replacing # and _ with images that make it look more like actual graphs.