]> git.sur5r.net Git - i3/i3status/commitdiff
Update default config
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 15 Oct 2009 18:42:46 +0000 (20:42 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 15 Oct 2009 18:42:46 +0000 (20:42 +0200)
i3status.conf

index cedd18868e0e6ed93303f8e1fbef4335fe1bf732..6140f068519d7483bce3bffc4cbd4d3d7f64bf7e 100644 (file)
@@ -1,33 +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 ipv6,run,wlan,eth,battery,cpu_temperature,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
-
-# Get IPv6 public address
-get_ipv6
+general {
+        colors = true
+       interval = 5
+}
+
+order  = "ipv6"
+order += "disk /"
+order += "run_watch DHCP"
+order += "run_watch VPN"
+order += "wireless wlan0"
+order += "ethernet eth0"
+order += "battery 0"
+order += "cpu_temperature 0"
+order += "load"
+order += "time"
+
+wireless wlan0 {
+        format_up = "W: (%quality at %essid) %ip"
+        format_down = "W: down"
+}
+
+ethernet eth0 {
+        # if you use %speed, i3status requires root privileges
+        format = "E: %ip (%speed)"
+}
+
+battery 0 {
+        format = "%status %remaining"
+}
+
+run_watch DHCP {
+        pidfile = "/var/run/dhclient*.pid"
+}
+
+run_watch VPN {
+        pidfile = "/var/run/vpnc/pid"
+}
+
+time {
+       format = "%Y-%m-%d %H:%M:%S"
+}
+
+load {
+       format = "%5min"
+}
+
+cpu_temperature 0 {
+       format = "T: %degrees °C"
+}
+
+disk "/" {
+       format = "%free"
+}