From 16b354dd4492b7f7615991f3c3713f4018d84e55 Mon Sep 17 00:00:00 2001 From: coderkun Date: Sat, 19 Mar 2016 15:54:38 +0100 Subject: [PATCH] add i3status configuration --- i3status/config | 69 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 i3status/config diff --git a/i3status/config b/i3status/config new file mode 100644 index 0000000..4b888c1 --- /dev/null +++ b/i3status/config @@ -0,0 +1,69 @@ +# 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 = 20 +} + +order += "ipv6" +order += "disk /" +order += "disk /home" +#order += "run_watch DHCP" +#order += "run_watch VPN" +#order += "wireless _first_" +order += "ethernet _first_" +#order += "battery 0" +order += "cpu_usage" +order += "load" +order += "tztime local" + +wireless _first_ { + format_up = "W: (%quality at %essid) %ip" + format_down = "W: down" +} + +ethernet _first_ { + # if you use %speed, i3status requires root privileges + #format_up = "E: %ip (%speed)" + format_up = "E:%ip" + format_down = "E:down" +} + +battery 0 { + format = "%status %percentage %remaining" +} + +run_watch DHCP { + pidfile = "/var/run/dhclient*.pid" +} + +run_watch VPN { + pidfile = "/var/run/vpnc/pid" +} + +tztime local { + #format = "%Y-%m-%d %H:%M:%S" + format = "%H:%M:%S %d.%m.%Y" +} + +cpu_usage { + format = "%usage" +} + +load { + format = "%1min" +} + +disk "/" { + format = "%avail" +} + +disk "/home" { + format = "%avail" +}