Commit Graph

344 Commits

Author SHA1 Message Date
Michael Stapelberg
895cbad7a2 README: refer to cr.i3wm.org for patches 2013-02-10 15:17:15 +01:00
Michael Stapelberg
68e447d3f6 Bugfix: output auto detect: properly detect ambiguous situations (Thanks mist)
fixes #940
2013-02-04 21:36:55 +01:00
Michael Stapelberg
a5a43af186 retab! print_cpu_temperature 2013-01-28 11:37:23 +01:00
Emil Mikulic
a87b63c3e9 Make sure colorful_output variable is initialized. 2013-01-28 11:36:23 +01:00
Emil Mikulic
e2541da194 src/*.c depends on include/i3status.h 2013-01-25 11:26:08 +01:00
Adrien Schildknecht
d43664235a wifi: properly display ad-hoc networks
No statistics are displayed with ad-hoc networks since none are available.
2013-01-24 15:22:00 +01:00
Gereon Kremer
11757b8105 make refreshs align with minutes 2013-01-08 22:02:03 +01:00
Gereon Kremer
6147e2b268 changing volume color from bad to degraded if muted 2013-01-05 08:37:20 +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
Scott Tincman
0eeded8bc0 DragonFlyBSD support added 2012-11-15 12:31:17 +01:00
Michael Stapelberg
2f20400d7a Bugfix: make custom colors configurable for battery (Thanks thomas)
fixes #865
2012-11-10 08:46:26 +01:00
Michael Stapelberg
264068551f Bugfix: make custom colors configurable for cpu_temperature (Thanks thomas)
fixes #865
2012-11-07 21:14:02 +01:00
Deiz
638156c8b2 Teen ordinal numbers always use a 'th' suffix. 2012-11-06 00:26:47 +01:00
Michael Stapelberg
beaaf4c742 config: introduce an utf-8 character so that editors are forced to use utf-8
…and if they don’t, the user can fix the editor setup at least.

See also http://bugs.i3wm.org/864
2012-11-05 17:40:51 +01:00
Michael Stapelberg
4bf84391d8 config: remove documentation from the disk field (got there by mistake) 2012-11-05 17:36:53 +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
Deiz
e10d38fea0 Reduce the season day to 0-9 to properly print ordinal suffixes 2012-10-19 19:36:53 +02:00
Simon Elsbrock
35f3bcb348 bugfix: colorize output even without discharge rate (thanks f8l)
On some systems, the discharge rate may be missing, although the battery
is still working. This leads to an edge case on Linux systems in which
the output may not be colorized although a threshold was defined.

This commit fixes the behavior by colorizing output if threshold_type is
set to "percentage". Since we cannot calculate remaining time without
discharge rate, output is still uncolorized in case of threshold_type
set to "time".
2012-10-16 22:49:22 +02:00
Michael Stapelberg
450424f97a implement max_threshold for linux, too 2012-10-16 10:52:57 +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
Jasper Lievisse Adriaanse
1c2517a399 i3status - Default to acpitz(4) instead of cpu(4) for OpenBSD temperature readings
The acpitz(4) values are eventually used by the kernel to determine if the machine
is getting too hot.
2012-10-16 10:48:44 +02:00
Jasper Lievisse Adriaanse
ed03d2450c i3status - Handle down wireless interfaces just like ethernet interfaces (e.g. colors) 2012-10-16 10:48:29 +02:00
Deiz
04dc34f27d Skip a day in the Discordian calendar when St. Tib's Day has passed 2012-10-16 09:25:38 +02:00
Jasper Lievisse Adriaanse
794151cfe7 Implement %essid and %signal for wireless on OpenBSD. 2012-10-10 08:24:29 +02:00
Jasper Lievisse Adriaanse
11c4ab9870 Implement %speed for Ethernet on OpenBSD. 2012-10-10 08:24:04 +02:00
Jasper Lievisse Adriaanse
8da0452d2c Various fixes for the OpenBSD section of the battery backend.
- fix the battery status printing in %status.
- fix remaining time when we're charging.
- use colors to indicate battery status.
- small cleanups.
2012-10-10 08:23:14 +02:00
Michael Stapelberg
7dcc961fa2 Bugfix: Move the pbval definition outside the ifdef (Thanks XTaran)
This fixes compilation on !linux
2012-10-03 15:12:49 +02:00
Michael Stapelberg
266734418c remove debian/, packaging now lives on alioth 2012-10-03 14:13:33 +02:00
Michael Stapelberg
c705b11d44 include contrib/ in release tarballs 2012-10-03 13:44:34 +02:00
Michael Stapelberg
69cd4fe003 update changelog and manpage for 2.6 2012-10-03 13:42:01 +02:00
Michael Stapelberg
5c615f7074 Save the DNS lookup for K.root-servers.net (Thanks barfoos)
This avoids running into a timeout when there is no connectivity on
i3status startup.
2012-09-29 00:08:56 +02:00
Simon Elsbrock
59d52ad787 print_battery.c: do END_COLOR only if START_COLOR was used 2012-09-05 23:28:31 +02:00
Simon Elsbrock
1c4677a644 turn volume into red if muted
fixes #743
2012-09-05 23:28:27 +02:00
Simon Elsbrock
674d28e192 modify START_COLOR macro variable naming
Rename val to _val to prevent shadowing warnings due to its common
naming.
2012-09-05 23:28:17 +02:00
Michael Stapelberg
d6b8a4efc1 introduce percentages for all values, document them 2012-08-31 14:16:58 +02:00
gereon
50ad0334f6 adding percentage format string for disk info module
explicit cast to double, changed format string to percentage
2012-08-31 14:07:46 +02:00
Piotr Domagalski
fa4e9cdfb3 Eat unnecessary space from the battery format str.
If the battery is not discharging it may be not possible to give information on
remaining time or consumption. The resulting strings (%remaining, %consumption,
%emptytime) are empty then. But because they are in the format string, the
output string contains unnecessary spaces in this case.

This commit makes i3status strip these spaces.
2012-08-31 12:08:24 +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
Philipp Schaefer
3baf27bf1d use correct units for battery calculation 2012-08-13 01:44:40 +02:00
Michael Stapelberg
cfaeba4df1 Bugfix: non-i3bar formats always used color_bad (Thanks hongy19)
fixes #772
2012-08-13 01:35:07 +02:00
Valentin Haenel
c69da4c4f5 contrib: python version of the wrapper 2012-08-12 17:59:07 +02:00
Michael Stapelberg
b61f70b05f Import measure-net-speed bash scripts to contrib/ 2012-08-04 21:31:06 +02:00
Michael Stapelberg
dea8703aba Bugfix: Properly skip "consumption", not "consumptionbuf" (Thanks mloskot)
Fixes #752
2012-07-12 08:16:40 +02:00
Michael Stapelberg
141f45e792 small style fix in src/print_battery_info.c (move comment) 2012-07-11 19:11:29 +02:00
Marcel Hellwig
1271ff2aa4 Calculate the consumption if POWER_SUPPLY_POWER_NOW does not exist in uevent 2012-07-11 19:11:08 +02:00
Lars Kumbier
f5c96008b0 colorful ipv6 status message 2012-07-10 20:37:54 +02:00
Michael Stapelberg
eec9629eb8 README: fix trailing whitespace, add libcap2-bin, more unicode 2012-07-10 20:36:40 +02:00
Lars Kumbier
3fef39d3f5 Some information on building i3status from source 2012-07-10 20:33:28 +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