From fc53ed8222ac81a61af347c790f19820eb98e9fc Mon Sep 17 00:00:00 2001
From: Michael Stapelberg
It’s also possible to use the color_good, color_degraded, color_bad directives +to define specific colors per module. If one of these directives is defined +in a module section its value will override the value defined in the general +section just for this module.
If you want the battery percentage to be shown without decimals, add +integer_battery_capacity = true.
If your battery is represented in a non-standard path in /sys, be sure to modify the "path" property accordingly. The first occurence of %d gets replaced with the battery number, but you can just hard-code a path as well.
Gets the temperature of the given thermal zone.
Gets the temperature of the given thermal zone. It is possible to +define a max_threshold that will color the temperature red in case the +specified thermal zone is getting too hot. Defaults to 75 degrees C.
Example order: cpu_temperature 0
Example format: T: %degrees °C
Example max_threshold: 42
Gets the system load (number of processes waiting for CPU time in the last -1, 5 and 15 minutes).
Example order: load
Example format: %1min %5min %15min
Example max_threshold: 5
Formats the current system time. See strftime(3) for the format.
Outputs the current time in the local timezone. +To use a different timezone, you can set the TZ environment variable, +or use the tztime module. +See strftime(3) for details on the format string.
Example order: time
Example format: %Y-%m-%d %H:%M:%S
Outputs the current time in the given timezone. +If no timezone is given, local time will be used. +See strftime(3) for details on the format string. +The system’s timezone database is usually installed in /usr/share/zoneinfo. +Files below that path make for valid timezone strings, e.g. for +/usr/share/zoneinfo/Europe/Berlin you can set timezone to Europe/Berlin +in the tztime module.
Example order: tztime berlin
Example format: %Y-%m-%d %H:%M:%S %Z
Example timezone: Europe/Berlin
Outputs the current discordian date in user-specified format. See ddate(1) for details on the format string. Note: Neither %. nor %X are implemented yet.
Example format: %{%a, %b %d%}, %Y%N - %H
Outputs the volume of the specified mixer on the specified device. Works only on Linux because it uses ALSA. A simplified configuration can be used on FreeBSD and OpenBSD due to @@ -434,13 +468,21 @@ contrib/ folder, see http:/
When receiving SIGUSR1, i3statusâs nanosleep() will be interrupted and thus +you will force an update. You can use killall -USR1 i3status to force an update +after changing the system volume, for example.
strftime(3), date(1), glob(3), dzen2(1), xmobar(1)
Michael Stapelberg and contributors
Thorsten Toepper