Commit Graph

88 Commits

Author SHA1 Message Date
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