179 lines
3.7 KiB
Text
179 lines
3.7 KiB
Text
general {
|
|
// output_format = "i3bar"
|
|
colors = true
|
|
color_good = "#a3be8c"
|
|
color_degraded = "#ebcb8b"
|
|
color_bad = "#bf616a"
|
|
separator = ""
|
|
output_format = "i3bar"
|
|
interval = 5
|
|
separator = ""
|
|
}
|
|
|
|
// order += "ipv6"
|
|
order += "volume master"
|
|
order += "read_file spotify"
|
|
order += "disk /"
|
|
order += "disk /nix"
|
|
order += "disk /home"
|
|
// order += "run_watch DHCP"
|
|
// order += "run_watch VPNC"
|
|
// order += "path_exists VPN"
|
|
order += "wireless wlp2s0"
|
|
order += "ethernet enp0s31f6"
|
|
order += "ethernet enxd8d09030b06b"
|
|
order += "ethernet"
|
|
order += "ipv6"
|
|
order += "wireless _first_"
|
|
order += "ethernet _first_"
|
|
order += "disk /home"
|
|
order += "load"
|
|
order += "memory"
|
|
order += "run_watch DHCP"
|
|
order += "run_watch VPNC"
|
|
order += "path_exists VPN"
|
|
order += "battery 0"
|
|
order += "cpu_temperature 0"
|
|
order += "tztime local"
|
|
order += "tztime Montreal"
|
|
order += "tztime Brussels"
|
|
|
|
wireless _first_ {
|
|
format_up = "W: (%quality at %essid) %ip (%speed)"
|
|
format_down = "W: down"
|
|
}
|
|
|
|
ethernet enp0s31f6 {
|
|
format_up = " %ip"
|
|
format_down = " "
|
|
}
|
|
ethernet enp0s20f0u3c2 {
|
|
format_up = " %ip"
|
|
format_down = " "
|
|
|
|
|
|
battery all {
|
|
format = "%status %percentage %remaining"
|
|
}
|
|
|
|
battery 0 {
|
|
format = "%status %percentage %remaining"
|
|
format_down = ""
|
|
last_full_capacity = true
|
|
integer_battery_capacity = true
|
|
low_threshold = 11
|
|
threshold_type = percentage
|
|
hide_seconds = true
|
|
status_chr = " ⚡ "
|
|
status_bat = " 🪫 "
|
|
status_unk = " 🔌 "
|
|
status_full = " 🔋 "
|
|
path = "/sys/class/power_supply/BAT%d/uevent"
|
|
}
|
|
|
|
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 = "📅 %V %a %Y-%m-%d %H:%M:%S %Z"
|
|
hide_if_equals_localtime = true
|
|
}
|
|
|
|
tztime Brussels {
|
|
format = "%Y-%m-%d %H:%M:%S %Z"
|
|
timezone = "Europe/Brussels"
|
|
}
|
|
tztime Montreal {
|
|
format = "%H:%M %Z"
|
|
timezone = "America/Montreal"
|
|
hide_if_equals_localtime = true
|
|
}
|
|
|
|
load {
|
|
format = " %5min"
|
|
}
|
|
|
|
cpu_temperature 0 {
|
|
format = "🌡️ %degrees"
|
|
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon5/temp1_input"
|
|
}
|
|
|
|
memory {
|
|
format = " %used"
|
|
threshold_degraded = "10%"
|
|
format_degraded = "MEMORY: %free"
|
|
}
|
|
|
|
disk "/" {
|
|
format = " / %free"
|
|
prefix_type = custom
|
|
low_threshold = 20
|
|
threshold_type = percentage_avail
|
|
}
|
|
|
|
disk "/nix" {
|
|
format = "💻 /nix %free"
|
|
prefix_type = custom
|
|
low_threshold = 15
|
|
threshold_type = percentage_avail
|
|
}
|
|
|
|
disk "/home" {
|
|
format = "💾 /home %free"
|
|
prefix_type = custom
|
|
low_threshold = 10
|
|
threshold_type = percentage_avail
|
|
}
|
|
|
|
disk "/home" {
|
|
format = "%free"
|
|
}
|
|
|
|
read_file uptime {
|
|
path = "/proc/uptime"
|
|
}
|
|
|
|
volume master {
|
|
format = "%volume "
|
|
format_muted = " "
|
|
// device = "pulse:1"pavuc
|
|
device = "default"
|
|
mixer = "Master"
|
|
mixer_idx = 0
|
|
}
|
|
|
|
read_file spotify {
|
|
format = "🔊%content"
|
|
path = "~/.config/i3status/spotify.log"
|
|
|
|
format = "%status %percentage %remaining"
|
|
}
|
|
|
|
disk "/" {
|
|
format = "%avail"
|
|
}
|
|
|
|
load {
|
|
format = "%1min"
|
|
}
|
|
|
|
memory {
|
|
format = "%used | %available"
|
|
threshold_degraded = "1G"
|
|
format_degraded = "MEMORY < %available"
|
|
}
|
|
|
|
tztime local {
|
|
format = "%Y-%m-%d %H:%M:%S"
|
|
}
|