X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=man%2Fi3status.man;h=c36694a49ee59abab033969595acfd4105e81dc6;hb=38938c344474d90ce4c5750efa5c26c893c76c80;hp=296b9a921da8ee7f7f0c1eb3bc836411b6a3b676;hpb=10e9c3a1738898cdd35b232333d194208e1ca11c;p=i3%2Fi3status diff --git a/man/i3status.man b/man/i3status.man index 296b9a9..c36694a 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -1,7 +1,7 @@ i3status(1) =========== Michael Stapelberg -v2.7, March 2013 +v2.8, January 2014 == NAME @@ -50,7 +50,8 @@ general { order += "ipv6" order += "disk /" order += "run_watch DHCP" -order += "run_watch VPN" +order += "run_watch VPNC" +order += "path_exists VPN" order += "wireless wlan0" order += "ethernet eth0" order += "battery 0" @@ -81,10 +82,16 @@ run_watch DHCP { pidfile = "/var/run/dhclient*.pid" } -run_watch VPN { +run_watch VPNC { + # file containing the PID of a vpnc process pidfile = "/var/run/vpnc/pid" } +path_exists VPN { + # path exists when a VPN tunnel launched by nmcli/nm-applet is active + path = "/proc/sys/net/ipv4/conf/tun0" +} + tztime local { format = "%Y-%m-%d %H:%M:%S" } @@ -168,7 +175,7 @@ best available public IPv6 address on your computer). *Example format_up*: +%ip+ -*Example format_down* +no IPv6+ +*Example format_down*: +no IPv6+ === Disk @@ -177,12 +184,26 @@ Gets used, free, available and total amount of bytes on the given mounted filesy These values can also be expressed in percentages with the percentage_used, percentage_free, percentage_avail and percentage_used_of_avail formats. +Byte sizes are presented in a human readable format using a set of prefixes +whose type can be specified via the "prefix_type" option. Three sets of +prefixes are available: + +binary:: +IEC prefixes (Ki, Mi, Gi, Ti) represent multiples of powers of 1024. +This is the default. +decimal:: +SI prefixes (k, M, G, T) represent multiples of powers of 1000. +custom:: +The custom prefixes (K, M, G, T) represent multiples of powers of 1024. + *Example order*: +disk /mnt/usbstick+ *Example format*: +%free (%avail)/ %total+ *Example format*: +%percentage_used used, %percentage_free free, %percentage_avail avail+ +*Example prefix_type*: +custom+ + === Run-watch Expands the given path to a pidfile and checks if the process ID found inside @@ -193,6 +214,15 @@ a specific application, such as a VPN client or your DHCP client is running. *Example format*: +%title: %status+ +=== Path-exists + +Checks if the given path exists in the filesystem. You can use this to check if +something is active, like for example a VPN tunnel managed by NetworkManager. + +*Example order*: +path_exists VPN+ + +*Example format*: +%title: %status+ + === Wireless Gets the link quality and ESSID of the given wireless network interface. You @@ -240,6 +270,8 @@ colored red. The low_threshold type can be of threshold_type "time" or *Example format*: +%status %remaining (%emptytime %consumption)+ +*Example format_down*: +No battery+ + *Example low_threshold*: +30+ *Example threshold_type*: +time+ @@ -258,6 +290,8 @@ specified thermal zone is getting too hot. Defaults to 75 degrees C. *Example max_threshold*: +42+ +*Example path*: +/sys/devices/platform/coretemp.0/temp1_input+ + === CPU Usage Gets the percentual CPU usage from +/proc/stat+ (Linux) or +sysctl(3)+ (FreeBSD/OpenBSD). @@ -329,11 +363,13 @@ query +/dev/mixer+ directly if +mixer_dix+ is -1, otherwise *Example order*: +volume master+ *Example format*: +♪: %volume+ +*Example format_muted*: +♪: 0%%+ *Example configuration*: ------------------------------------------------------------- volume master { format = "♪: %volume" + format_muted = "♪: muted (%volume)" device = "default" mixer = "Master" mixer_idx = 0