Files
neoromantique-dotfiles/i3status/config
David Aizenberg cafc9f3ff1 update
2020-11-10 01:46:56 +04:00

63 lines
1.2 KiB
Plaintext

general {
colors = true
interval = 5
}
order += "ethernet enp37s0"
order += "path_exists VPN"
order += "load"
order += "disk /"
order += "tztime local"
order += "tztime london"
ethernet enp37s0 {
# if you use %speed, i3status requires the cap_net_admin capability
format_up = "eth: %ip (%speed)"
format_down = "eth"
}
battery all {
format = "%status %percentage %remaining %consumption"
format_down = "No battery"
last_full_capacity = true
status_chr = "⚡ CHR"
status_bat = "🔋 BAT"
status_unk = "? UNK"
status_full = "☻ FULL"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 20
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPNC {
# file containing the PID of a vpnc process
pidfile = "/var/run/vpnc/pid"
}
path_exists VPN {
# path exists when a VPN tunnel launched by nmcli/nm-applet is active
path = "/proc/sys/net/ipv4/conf/tun0"
}
tztime local {
format = "Day: %d Local: %H:%M"
}
tztime london {
format = "London: %H:%M"
timezone = "Europe/London"
}
load {
format = "%5min"
}
disk "/" {
format = "%free"
}