dotfiles/i3/.config/i3status/config
Hactarus fe0993358b WIP
2024-09-29 17:36:23 +02:00

136 lines
2.9 KiB
Text

general {
// output_format = "i3bar"
colors = true
color_good = "#50FA7B"
color_degraded = "#F1FA8C"
color_bad = "#FF5555"
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 enp0s20f0u3c2"
order += "ethernet"
order += "battery 0"
order += "cpu_temperature 0"
order += "memory"
order += "load"
order += "tztime local"
order += "tztime paris"
wireless wlp2s0 {
format_up = " (%quality at %essid, %bitrate) %ip"
format_down = "󱚵 "
}
ethernet enp0s31f6 {
format_up = "󰈀 %ip"
format_down = "󰈀 "
}
ethernet enp0s20f0u3c2 {
format_up = "󰈁 %ip"
format_down = "󰈁 "
}
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 paris {
format = "📅 %V %a 󰃭 %Y-%m-%d  %H:%M:%S %Z"
timezone = "Europe/Paris"
}
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
}
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"
}