Merge remote-tracking branch 'origin/nix'
This commit is contained in:
commit
6ec069adbd
20 changed files with 2028 additions and 53 deletions
|
@ -8,11 +8,12 @@
|
|||
|
||||
general {
|
||||
colors = true
|
||||
color_good = "#a3be8c"
|
||||
color_degraded = "#ebcb8b"
|
||||
color_bad = "#bf616a"
|
||||
color_good = "#a3be8c"
|
||||
color_degraded = "#ebcb8b"
|
||||
color_bad = "#bf616a"
|
||||
separator = ' '
|
||||
# output_format = "i3bar"
|
||||
interval = 5
|
||||
separator = ' '
|
||||
}
|
||||
|
||||
order += "ipv6"
|
||||
|
@ -23,6 +24,19 @@ order += "disk /"
|
|||
order += "load"
|
||||
order += "memory"
|
||||
order += "tztime local"
|
||||
order += "ipv6"
|
||||
order += "disk /"
|
||||
order += "run_watch DHCP"
|
||||
order += "run_watch VPNC"
|
||||
order += "path_exists VPN"
|
||||
order += "wireless wlan0"
|
||||
order += "ethernet eth0"
|
||||
order += "battery 0"
|
||||
order += "cpu_temperature 0"
|
||||
order += "memory"
|
||||
order += "load"
|
||||
order += "tztime local"
|
||||
order += "tztime berlin"
|
||||
|
||||
wireless _first_ {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
|
@ -34,6 +48,16 @@ ethernet _first_ {
|
|||
format_down = "E: down"
|
||||
}
|
||||
|
||||
wireless wlan0 {
|
||||
format_up = "W: (%quality at %essid, %bitrate) %ip"
|
||||
format_down = "W: down"
|
||||
}
|
||||
|
||||
ethernet eth0 {
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_down = "E: down"
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = "%status %percentage %remaining"
|
||||
}
|
||||
|
@ -52,6 +76,60 @@ memory {
|
|||
format_degraded = "MEMORY < %available"
|
||||
}
|
||||
|
||||
battery 0 {
|
||||
format = "%status %percentage %remaining %emptytime"
|
||||
format_down = "No battery"
|
||||
status_chr = "⚡ CHR"
|
||||
status_bat = "🔋 BAT"
|
||||
status_unk = "? UNK"
|
||||
status_full = "☻ FULL"
|
||||
path = "/sys/class/power_supply/BAT%d/uevent"
|
||||
low_threshold = 10
|
||||
}
|
||||
|
||||
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 = "%Y-%m-%d %H:%M:%S"
|
||||
hide_if_equals_localtime = true
|
||||
}
|
||||
|
||||
tztime berlin {
|
||||
format = "%Y-%m-%d %H:%M:%S %Z"
|
||||
timezone = "Europe/Berlin"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%5min"
|
||||
}
|
||||
|
||||
cpu_temperature 0 {
|
||||
format = "T: %degrees °C"
|
||||
path = "/sys/devices/platform/coretemp.0/temp1_input"
|
||||
}
|
||||
|
||||
memory {
|
||||
format = "%used"
|
||||
threshold_degraded = "10%"
|
||||
format_degraded = "MEMORY: %free"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%free"
|
||||
}
|
||||
|
||||
read_file uptime {
|
||||
path = "/proc/uptime"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue