Commit Graph

139 Commits

Author SHA1 Message Date
Ingo Bürk
75a835742e Use format_not_mounted if the directory for a disk_info block does not exist.
This is useful for dynamically mounted devices like thumb drives that get mounted into a directory such as
'/media/$UID/$NAME'.

fixes #33
2015-05-29 08:43:29 +02:00
Michael Stapelberg
9abe0a9d59 Merge pull request #7 from Watcom/master
PulseAudio support for volume input
2015-04-03 14:45:40 -07:00
Watcom Hecht
1710c206cf PulseAudio support for volume input 2015-04-03 17:57:40 -03:00
Michael Stapelberg
d00a0e087c Merge pull request #17 from chrko/format_down
Adding format_down option to path_exists and run_watch
2015-04-02 13:42:47 -07:00
Christian Kohlstedde
5c094a5493 Adding the option "format_down" to path_exists and run_watch.
This fixes #1.
2015-04-02 22:31:06 +02:00
Hendrik R
e192090f4c Fix spacing 2015-04-02 11:56:47 +02:00
Alois Mahdal
68623ee0a4 Fix typo in battery example 2015-03-23 19:12:44 +01:00
Michael Stapelberg
523f7b269b release v2.9 2015-03-22 17:58:40 +01:00
Christian Kohlstedde
562a879f7c removing Yoda-Style
adding some words in the manpage
2015-02-22 18:25:12 +01:00
Michael Stapelberg
b219f47f39 support the special interface name _first_ for ethernet/wireless
Since we have deterministic device names in Linux, these strings are a
much better default in the i3status config than "eth0" and "wlan0" (what
we used before).
2014-12-07 15:17:31 +01:00
Tuomas Tynkkynen
7bdfb5b72e i3status: Support %frequency for wireless interfaces
In many public WiFis, the 2.4 GHz wireless band is slow due to
congestion, while there is still plenty of bandwidth available on the
5 GHz area. So when debugging wireless issues it's convenient to have
i3status display the frequency of the access point that the interface is
connected to.

This patch adds support for the %frequency tag for wireless interfaces,
so for example:
    format_up = "WLAN: %essid - %quality / %frequency"
would result in:
    "WLAN: eduroam - 074% / 2.4 GHz"
2014-12-03 08:14:21 +01:00
Cyril Andreatta
f817e3b4c0 Updated the man page for i3status with information about the new individual strings that can be used for each battery status. 2014-10-07 18:52:02 +02:00
Bas Pape
e4b854543a Clarify color_separator relation to output_format 2014-06-08 13:56:24 +02:00
Mats
bc0bd8c9e0 disk: Colorize output when below given threshold
New disk module options:
* threshold_type: ^(percentage|[kmgt]?bytes)_(free|avail)$
* low_threshold: <double>

fixes #912
2014-03-09 22:57:19 +01:00
Marco Hunsicker
1de12e7b20 Support align and min_width module options
This patch enables users to define "align" and "min_width" options
right in the i3status module config sections.

Specifically this patch:
 * Adds macros for the two new options that are used in the option
   definitions. As the min_width option can take either a string or a
   number, a custom type has been added along with a corresponding callback
   function that parses the provided value (and provides input validation).
   The align option also uses a callback for input validation
 * Expands all module config option definitions to include the new
   options
 * Extends the SEC_CLOSE_MAP() macro to generate the JSON for the new
   options as necessary
 * Updates the manpage to explain the new options
2014-03-07 08:46:44 +01:00
Marco Hunsicker
7b021d3eb2 i3status: Allow customization of module separator
This patch adds the ability to customize the separator that is placed
between modules.

Specifically this patch:

* adds the "separator" general directive
* moves the definition of the default separator for the different
  output formats (excluding color formatting) to src/i3status.c
* updates the SEC_CLOSE_MAP macro to disable the separator for the
  i3bar output format if the separator directive dictates so
* changes print_seperator() in src/output.c to take a separator
  parameter in order to disable the output of the separator if
  the separator is empty and to use the provided separator
  otherwise
* updates the manpage to explain the new directive
2014-03-01 10:21:11 +01:00
Iakov Davydov
c01a8110a4 Add hide_seconds option
fixes: #1134
2014-02-08 20:36:59 +01:00
Wieland Hoffmann
38938c3444 Add a format_down example for battery 2014-01-06 22:03:17 +01:00
Wieland Hoffmann
f3c5f18bff man: Add a missing colon 2014-01-06 22:03:13 +01:00
Michael Stapelberg
b75b3aec68 manpage: update version number 2014-01-05 12:18:48 +01:00
Mats
596f2264f4 disk: Distinguish between IEC, SI and custom prefixes
* IEC: Ki, Mi, Gi, Ti (powers of 1024)
* SI: k, M, G, T (powers of 1000)
* custom: K, M, G, T (powers of 1024)
2013-12-10 21:18:14 +01:00
Kinware AB
717484184f Add support for path_exists directive. 2013-11-22 15:52:27 +01:00
Michael Stapelberg
98595f9f28 document format_muted in the manpage 2013-11-18 22:32:48 +01:00
Jan-Erik Rediger
bcc8932c86 Add example path for CPU temperature 2013-07-19 00:19:43 +02:00
Michael Stapelberg
10e9c3a173 manpage: update example for load’s max_threshold 2013-07-09 23:25:49 +02:00
Axel Wagner
7a372b0f46 Implement term-output-format 2013-05-19 19:51:01 +02:00
Michael Stapelberg
de8c6cba60 manpage: be more explicit about the path option 2013-05-04 17:50:05 +02:00
Michael Stapelberg
1ec54a2971 man: mention i3bar in the description (Thanks andi) 2013-03-19 19:58:22 +01:00
Baptiste Daroussin
f30ec89b79 Support mixer_idx with OSS
make mixer_idx load the default mixer
2013-03-19 19:53:26 +01:00
Christoph Göttschkes
5e0b8812bf Added format_down option for battery if no battery is available. 2013-03-09 11:43:55 +01:00
Raphael Michel
6279964c6b Add colorized output for load avg 2013-02-22 14:09:58 +01:00
Julien Lequertier
67c2c1a7ea Added option to show battery capacity without decimals 2013-02-14 19:35:15 +01:00
Emil Mikulic
2ebe1f3726 Add tztime module to support multiple different timezones. 2013-02-10 17:18:32 +01:00
Michael Stapelberg
0a608d4af6 make SIGUSR1 do nothing, so that killall -USR1 i3status will force an update
Sending SIGUSR1 will interrupt the nanosleep() and thus force a new
iteration of i3status’s output loop. The signal handler itself is empty.

Based on the question by ttjjss at
http://faq.i3wm.org/question/854/how-to-force-status-bar-update/
2012-12-05 17:49:54 +01:00
Marcelo Cerri
dbf3adc81d add good, degraded and bad colors per module
This commit adds support for color_good, color_degraded and color_bad
directives per module section in the config file.
2012-10-24 18:59:46 +02:00
Jasper Lievisse Adriaanse
ae4873bac7 i3status - More temperature related fixes for OpenBSD, and a general feature
- Temperature sensors can now set a 'max_threshold' value to color the output red if exceeded.
- Allow for arbitrary temperature sensors nodes to be selected with 'path' on OpenBSD.
2012-10-16 10:51:15 +02:00
Michael Stapelberg
69cd4fe003 update changelog and manpage for 2.6 2012-10-03 13:42:01 +02:00
Michael Stapelberg
d6b8a4efc1 introduce percentages for all values, document them 2012-08-31 14:16:58 +02:00
Simon Elsbrock
68f438ec9e add additional battery threshold type "percentage"
The battery threshold can now be configured as type "time" or
"percentage", but defaults to "time" to prevent unexpected behavior.
Also, low_threshold was set to a more reasonable default of 30.
2012-08-28 18:05:11 +02:00
Michael Stapelberg
7efb5f9103 clarify the unit of the power consumption and reformat that paragraph 2012-07-09 15:13:46 +02:00
Marcel Hellwig
0165709fc1 Added new feature - consumption - to documentation 2012-07-09 15:13:08 +02:00
Michael Stapelberg
850f6720b5 rename threshold to low_threshold and document it properly 2012-05-25 09:57:03 +02:00
Simon Elsbrock
7c02c10b72 colorize battery output if remaining time below threshold 2012-05-25 09:53:49 +02:00
Jasper Lievisse Adriaanse
4d719ff81f Update wrt. recent OpenBSD changes. 2012-05-04 16:07:43 +02:00
Michael Stapelberg
f06dbce702 bump version number 2012-05-02 17:28:47 +02:00
Michael Stapelberg
192c38466d manpage: spelling / sentence fixes 2012-05-02 17:26:08 +02:00
Michael Stapelberg
e6cd45fe0a manpage: remove paragraph about version 2, that’s outdated by now 2012-05-02 17:15:15 +02:00
Michael Stapelberg
727d9f9f01 document the i3bar output format in the manpage 2012-04-30 13:10:13 +02:00
Jasper Lievisse Adriaanse
a6cd207741 Allow overriding of a2x in the environment; as it may also be installed as a2x.py 2012-04-29 11:14:15 +02:00
Thorsten Töpper
d4dbf2690e Added %emptytime to the battery part 2012-04-26 21:59:51 +02:00
Stefan Breunig
afb0525235 add "exit 1" to example shell script.
This will make the script exit if i3bar has been killed or has crashed
instead of continuing to run in the background.
2012-03-17 23:26:20 +01:00
Michael Stapelberg
b35753cd5c add a section to the manpage explaining why we don’t want RAM usage etc. 2012-02-24 17:31:08 +01:00
Michael Stapelberg
7149f6f78e use the actual default format string for run_watch 2012-01-02 14:29:00 +01:00
theo
ed473cdd9b Add a "format" example for run_watch
Signed-off-by: theo <theocrite@theocrite.org>
2012-01-02 14:28:22 +01:00
Michael Stapelberg
392fbb51ab bump version in i3status.man 2011-12-27 00:31:50 +01:00
Michael Stapelberg
75094acd07 bump version 2011-12-27 00:25:12 +01:00
Michael Stapelberg
fc3fac640f man/i3status.man: Fix indention (Thanks sur5r) 2011-11-26 18:50:44 +00:00
Michael Stapelberg
3471ff39f8 battery: implement "path" option for batteries with non-standard paths 2011-11-26 18:26:38 +00:00
Michael Stapelberg
40012ed7c6 manpage: remove the obsolete i3bar -d invocation 2011-10-30 13:28:36 +00:00
Michael Stapelberg
692f0124a3 Don’t use a default setting for 'order'
This will make i3status depend on a useful configuration file (so
/etc/i3status.conf has to be installed) to actually output anything.

However, it fixes a very common error: people edit their i3status.conf and
don’t get that the first order directive has to use =, not +=. Since order is
now empty by default, you can use += everywhere.
2011-10-10 20:46:55 +01:00
Michael Stapelberg
9429d93a7e Fix the default value for the load, also the manpage description (Thanks XTaran) 2011-10-03 18:33:36 +01:00
Michael Stapelberg
8166314ffa doc fix: the load supports %1min, not %10min in the format (Thanks zendeavor) 2011-09-05 15:08:45 +02:00
Michael Stapelberg
67ad80f005 s/while [ 1 ]/while :/ (Thanks cls) 2011-08-25 22:55:01 +02:00
Michael Stapelberg
dbe8c661f3 manpage: add example for using external scripts/programs with i3status 2011-08-25 22:52:50 +02:00
Michael Stapelberg
602b6fcef0 update manpage, bump version, update copyrights, sync authors list 2011-07-19 15:28:28 +02:00
Michael Stapelberg
18c4513b2a manpage: fix config paths 2011-07-13 16:21:15 +02:00
Michael Stapelberg
abd1c58d7e manpage: give a better example of the color_good option (Thanks Kamila) 2011-05-08 20:43:35 +02:00
Michael Stapelberg
0b299f740d Fix trailing whitespaces, document cpu_usage in manpage 2011-05-06 13:17:26 +02:00
Michael Stapelberg
686b8798aa document the path option in sample config 2011-01-06 18:23:56 +01:00
Felix Kaiser
7507a3d03c manpage: fix sample config (ethernet module) 2011-01-06 18:13:39 +01:00
Fernando Tarlá Cardoso Lemos
0846c307d0 More sensible lookup order loading the config. 2010-10-24 00:34:53 +02:00
Michael Stapelberg
29f382c0c2 manpage: fix example for xmobar/dzen2 2010-09-23 00:50:52 +02:00
Michael Stapelberg
57e2de85a9 bump version in asciidoc.conf 2010-09-23 00:41:10 +02:00
Michael Stapelberg
c3f7fc4994 port support for xdg basedir and some makefile fixes from i3 2010-09-23 00:12:48 +02:00
Michael Stapelberg
aa05cd73a7 Bump version in manpage 2010-09-22 20:15:23 +02:00
Michael Stapelberg
af5fd7b77e Implement displaying the wireless connection speed (Thanks Felicitus)
Based on a patch by Felicitus.
2010-09-22 19:59:48 +02:00
Michael Stapelberg
eb46963d4c Implement ALSA volume support 2010-07-20 19:33:41 +02:00
Fernando Tarlá Cardoso Lemos
a7863b7eca Updated the manual page with the color_* directives. 2010-07-04 21:52:45 +02:00
Mirko Augsburger
28ba2ae892 disk_info: implement %avail 2010-06-25 01:24:26 +02:00
Axel Wagner
6298377bd4 Implemented a ddate-module 2010-06-19 12:44:43 +02:00
Michael Stapelberg
09967274d7 s/systemcalls/system calls 2010-06-08 18:26:09 +02:00
Michael Stapelberg
15969ba680 update changelog 2010-04-10 23:49:33 +02:00
Christian Dietrich
706498644c ipv6: update manpage 2010-04-06 14:54:28 +02:00
Michael Stapelberg
d31f2ce0be install i3status with cap_net_admin capability, document it 2010-04-01 20:34:03 +02:00
Michael Stapelberg
21dcff25f5 makefile: only regenerate i3status.1 when necessary (Patch by Peter Johnson) 2010-02-14 12:54:38 +01:00
Michael Stapelberg
5e9a2849fc Update manpage for output_format 2009-10-27 20:27:15 +01:00
Michael Stapelberg
e4bd4bd2a3 battery: split up %remaining into %percentage and %remaining (Thanks shatter) 2009-10-16 22:21:05 +02:00
Michael Stapelberg
da8cb9ebfc Implement option to use the last full capacity instead of the design capacity 2009-10-16 20:37:41 +02:00
Michael Stapelberg
1815ea410d Add manpage in asciidoc format 2009-10-12 09:57:42 +02:00