summaryrefslogtreecommitdiffstats
path: root/.config/conkyrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/conkyrc')
-rw-r--r--.config/conkyrc7
1 files changed, 3 insertions, 4 deletions
diff --git a/.config/conkyrc b/.config/conkyrc
index 67cae7d..b77d62c 100644
--- a/.config/conkyrc
+++ b/.config/conkyrc
@@ -53,9 +53,9 @@ ${hr}
${font2}${color white}${alignc}${execi 1800 curl wttr.in/Lyon?T0 --silent --max-time 3}${font}
${hr}
${color grey}${alignc}New mails
-${color grey}GMail BR: ${font1}${color white}${new_mails /var/mail/jozan/gmail_br/INBOX}${font}
-${color grey}GMail OON: ${font1}${color white}${new_mails /var/mail/jozan/gmail_oon/INBOX}${font}
-${color grey}GMail TOS: ${font1}${color white}${new_mails /var/mail/jozan/gmail_tos/INBOX}${font}
+${if_match ${new_mails /var/mail/jozan/gmail_br/INBOX}>0}${color grey}GMail BR: ${font1}${color white}${new_mails /var/mail/jozan/gmail_br/INBOX}${font}${endif}
+${if_match ${new_mails /var/mail/jozan/gmail_br/INBOX}>0}${color grey}${color grey}GMail OON: ${font1}${color white}${new_mails /var/mail/jozan/gmail_oon/INBOX}${font}${endif}
+${if_match ${new_mails /var/mail/jozan/gmail_br/INBOX}>0}${color grey}${color grey}GMail TOS: ${font1}${color white}${new_mails /var/mail/jozan/gmail_tos/INBOX}${font}${endif}
${hr}
${color grey}Uptime: ${font1}${color white}${uptime}${font}
${hr}
@@ -86,7 +86,6 @@ ${color grey} ${top name 4} ${alignr}${top pid 4} ${top cpu 4} ${top mem
${color grey}---------
${color grey}Processes: ${color white}${processes}
${hr}
-${gw_ip}
${color grey}LAN IP: ${font1}${color white}${addr re0}${font}
${color grey}---------
${color grey}VPN IP: ${font1}${color white}${addr proton0}${font}