diff --git a/files/.i3status.conf b/files/.i3status.conf new file mode 100644 index 0000000..404cb40 --- /dev/null +++ b/files/.i3status.conf @@ -0,0 +1,81 @@ +# 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 += "battery 1" +order += "load" +order += "cpu_temperature 0" +order += "tztime local" + +volume master { + format = " %volume" + format_muted = " %volume" + device = "default" + mixer = "Master" + mixer_idx = 0 +} + +wireless wlo1 { + format_up = " (%essid) %ip" + format_down = "" +} + +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" +} + +load { + format = " %1min" +} + +cpu_temperature 0 { + format = "%degrees°C" + path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input" +} +