]> git.sur5r.net Git - i3/i3status/blobdiff - i3status.conf
Merge pull request #333 from stapelberg/sysconfdir
[i3/i3status] / i3status.conf
index 7410d1acef9b613b35cb8e210c2fd43035cd5cee..6ac43cbb231252bfa43d1c07e70c34d574a27b23 100644 (file)
@@ -1,30 +1,53 @@
-# Name of wlan/ethernet devices
-wlan wlan0
-eth eth0
-
-# Path to wmii (not relevant for dzen mode)
-wmii_path /mnt/wmii/rbar/
-
-# Format of date/time, see strftime(3)
-time_format %d.%m.%Y %H:%M:%S
-
-# Use battery 0,f to use the last full capacity instead of the design capacity
-battery 0
-
-# Check if DHCP/VPN clients are running
-run_watch DHCP /var/run/dhclient*.pid
-run_watch VPN /var/run/vpnc/pid
-
-order run,wlan,eth,battery,load,time
-
-# Specifies background and border color
-normcolors #000000 #333333
-
-# Enables colors
-color
-
-# Checks ethernet interface speed (this needs root privileges)
-get_ethspeed
-
-# Checks core temperature
-get_cpu_temperature
+# 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
+}
+
+order += "ipv6"
+order += "disk /"
+order += "wireless _first_"
+order += "ethernet _first_"
+order += "battery all"
+order += "load"
+order += "memory"
+order += "tztime local"
+
+wireless _first_ {
+        format_up = "W: (%quality at %essid) %ip"
+        format_down = "W: down"
+}
+
+ethernet _first_ {
+        format_up = "E: %ip (%speed)"
+        format_down = "E: down"
+}
+
+battery all {
+        format = "%status %percentage %remaining"
+}
+
+tztime local {
+        format = "%Y-%m-%d %H:%M:%S"
+}
+
+load {
+        format = "%1min"
+}
+
+memory {
+        format = "%used | %available"
+        threshold_degraded = "1G"
+        format_degraded = "MEMORY < %available"
+}
+
+disk "/" {
+        format = "%avail"
+}