94 lines
1.9 KiB
Text
94 lines
1.9 KiB
Text
# i3status configuration file.
|
|
# see "man i3status" for documentation.
|
|
|
|
# It is important that this file is edited as UTF-8.
|
|
# The following line should contain a sharp s:
|
|
# ß
|
|
# If the above line is not correctly displayed, fix your editor first!
|
|
|
|
general {
|
|
colors = true
|
|
interval = 5
|
|
color_good = "#36E592"
|
|
color_degraded = "#CE9726"
|
|
color_bad = "#CE4B4F"
|
|
color_separator = "#B3BEFF"
|
|
}
|
|
|
|
order += "ipv6"
|
|
#order += "run_watch DHCP"
|
|
order += "path_exists VPN"
|
|
order += "wireless wlo1"
|
|
order += "ethernet eno1"
|
|
#order += "volume master"
|
|
order += "microphone"
|
|
order += "battery 1"
|
|
order += "arch_updates"
|
|
order += "load"
|
|
order += "cpu_temperature 0"
|
|
order += "tztime local"
|
|
|
|
arch_updates {
|
|
format = " {pacman}"
|
|
}
|
|
|
|
microphone {
|
|
color_unmute = "#E73235"
|
|
color_mute = "#FFFFFF"
|
|
}
|
|
|
|
volume master {
|
|
format = " %volume"
|
|
format_muted = " %volume"
|
|
device = "default"
|
|
mixer = "Master"
|
|
mixer_idx = 0
|
|
}
|
|
|
|
wireless wlo1 {
|
|
format_up = " (%essid) %ip"
|
|
format_down = ""
|
|
on_click 3 = "exec /home/tobast/.config/i3/bin/restart-nmapplet"
|
|
}
|
|
|
|
ethernet eno1 {
|
|
# if you use %speed, i3status requires root privileges
|
|
format_up = " %ip (%speed)"
|
|
format_down = ""
|
|
}
|
|
|
|
path_exists VPN {
|
|
path = "/proc/sys/net/ipv4/conf/tun0"
|
|
}
|
|
|
|
battery 1 {
|
|
format = "%status %percentage %remaining (%consumption)"
|
|
status_chr = ""
|
|
status_bat = ""
|
|
status_full= ""
|
|
low_threshold = 20
|
|
threshold_type = "percentage"
|
|
}
|
|
|
|
run_watch DHCP {
|
|
pidfile = "/var/run/dhclient*.pid"
|
|
}
|
|
|
|
run_watch VPN {
|
|
pidfile = "/var/run/openvpn@tobast.fr.pid"
|
|
}
|
|
|
|
tztime local {
|
|
format = "%d-%m-%Y %H:%M"
|
|
on_click 1 = "exec /home/tobast/.config/i3/bin/calendar-widget $X_POS $Y_POS &"
|
|
}
|
|
|
|
load {
|
|
format = " %1min"
|
|
}
|
|
|
|
cpu_temperature 0 {
|
|
format = "%degrees°C"
|
|
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input"
|
|
}
|
|
|