1 -- vim: ts=4 sw=4 noet ai cindent syntax=lua
13 if_up_strictness = 'address',
22 {"full_text": "${new_mails mail_aber/Inbox} new mails", "color": "\#ffa500"},
24 {"full_text": "Home ${fs_free /home} Free", "color": "\#ffffff"},
25 {"full_text": "Root ${fs_free /root} Free", "color": "\#ffffff"},
26 {"full_text": "Disk r:${diskio_read} w:${diskio_write}", "color": "\#ffffff"},
27 {"full_text": "CPU ${cpu cpu0}%", "color": "\#ffffff"},
28 ${if_match "${nodename_short}"=="magnesium"}
30 "full_text": "d:${downspeed eno1} u:${upspeed eno1} ${addr eno1}",
32 ${if_match "${addr eno1}"=="No Address"}
39 ${if_match "${nodename_short}"=="platinum"}
41 "full_text": "d:${downspeed wlp2s0} u:${upspeed wlp2s0} ${addr wlp2s0}",
43 ${if_match "${addr wlp2s0}"=="No Address"}
50 ${if_match "${addr tun0}"!="No Address"}
51 {"full_text": "VPN", "color": "\#00ff00"},
54 "full_text": "RAM ${memperc}%",
56 ${if_match ${memperc}<90}
62 ${if_match "${nodename_short}"=="platinum"}
64 "full_text": "BAT ${battery_short} ${battery_time}",
66 ${if_match ${battery_percent}<20}
73 {"full_text": "${time}", "color": "\#ffffff"}