Commit Graph

534 Commits

Author SHA1 Message Date
Mark Schreiber
1e8dab273d Add CPU usage color thresholds
CPU usage had previously not supported the color option.  Add support
for a "degraded" state above which the degraded color is used, and a
higher "bad" state above which the "bad" color is used.  One possible
use for these might be indicating whether one or all cores are
saturated.

Unlike the color settings for other, these are set high enough to be
disabled by default.  This is done because i3status determines CPU
usage over only the last display interval, which means that, a user
with a low refresh rate might see frequent, potentially-annoying color
changes.
2016-04-13 09:11:32 -07:00
Michael Stapelberg
c094f47b45 Merge pull request #117 from egroat/master
Added status_unk to battery_info
2016-03-30 08:53:55 +02:00
eoin
d59589bf9e Added status_unk to battery_info 2016-03-21 22:41:22 +00:00
Michael Stapelberg
dbc59d7376 Merge pull request #116 from eplanet/55_path_cputemp
Adding glob check to cpu temperature fixes #55
2016-03-21 12:19:14 -07:00
eplanet
a8aa5d608c Adding glob check to cpu temperature fixes #55 2016-03-20 11:47:56 +01:00
Michael Stapelberg
132c35f6c9 Merge pull request #114 from ixjlyons/fix-man-url
Fixed link to contrib in man page.
2016-03-11 19:10:45 -08:00
Kenneth Lyons
f0ecd7bf53 Fixed link to contrib in man page. 2016-03-11 14:26:54 -08:00
Michael Stapelberg
e073cf4968 Merge pull request #105 from cornerman/issue_104
add separator and separator_block_width as universal module options
2016-02-01 08:53:27 +01:00
johannes karoff
6f4819f7a5 add separator and separator_block_width as universal module options
fixes #104
2016-01-31 19:39:29 +01:00
Michael Stapelberg
85329802b2 Merge pull request #103 from craftyguy/bat_full_remaining
This removes the 'remaining' time when the battery is full, since the…
2016-01-25 00:53:59 -08:00
Clayton Craft
430b053326 This removes the 'remaining' time when the battery is full, since the remaining time is always 00:00:00. When the battery is discharging, the remaining time will show up again if the user has set their format correctly. 2016-01-25 00:38:13 -08:00
Michael Stapelberg
cc55b44f80 Merge pull request #100 from czarkoff/mail-python
check_mail.py: more detailed report on IOError
2016-01-22 00:39:55 -08:00
Dmitrij D. Czarkoff
cc77338ff4 check_mail.py: more detailed report on IOError
When user doesn't have permissions to access some file, he is better served by
exact error message python recieved then by statement "not a mailbox".
2016-01-21 10:36:30 +01:00
Michael Stapelberg
b0cfdeab77 Merge pull request #96 from bebehei/symbols-battery
give more descriptive symbols to battery format
2016-01-12 13:22:37 -08:00
Michael Stapelberg
8918502fcd Merge pull request #95 from Watcom/nanosleep
revert back to using nanosleep
2016-01-12 11:57:04 -08:00
Benedikt Heine
023f588bea give more descriptive symbols to battery format 2016-01-12 15:07:33 +01:00
Watcom Hecht
dd75c260f8 revert back to using nanosleep
Fixes #93
2016-01-12 11:46:42 -02:00
Michael Stapelberg
fad9c8237c Bugfix: check that format_not_mounted is not NULL before using it
This issue was introduced with commit 75a83574.

fixes #92
2016-01-12 09:50:44 +01:00
Michael Stapelberg
6179531177 Merge pull request #94 from rpls/master
Forgotten wakeup call from USR1 handler
2016-01-11 01:04:18 -08:00
Richard Petri
8d86198d3c Forgotten wakeup call from USR1 handler
Fixes #93
2016-01-11 09:58:51 +01:00
Michael Stapelberg
dc26801cd3 release v2.10 2016-01-01 19:50:24 +01:00
Michael Stapelberg
528445abc5 Merge pull request #88 from auscompgeek/swaybar
format detection: recognise swaybar
2015-12-27 11:17:07 +01:00
David
b54623a56d format detection: recognise swaybar 2015-12-27 15:59:32 +11:00
Michael Stapelberg
45ad5304f7 Merge pull request #86 from remijouannet/master
update README.md with libnl-genl-3-dev
2015-12-23 11:21:34 +01:00
Rémi Jouannet
57269885c0 update README.md with libnl-genl-3-dev 2015-12-23 11:13:54 +01:00
Michael Stapelberg
395d02518c Merge pull request #72 from ixjlyons/pango-setting
Implement a pango option
2015-12-05 20:00:27 +01:00
Kenneth Lyons
dcd0518e25 Added support for Pango markup. 2015-12-04 10:27:18 -08:00
Michael Stapelberg
876c1cef8d fix compilation on FreeBSD
fixes #83
2015-11-24 19:26:07 +01:00
Michael Stapelberg
3e14e6e5f3 first_eth_interface: ignore MAC addresses, look for IPv4/IPv6 addresses 2015-11-16 22:41:18 +01:00
Michael Stapelberg
5081f2b5b8 Merge pull request #77 from StefaBa/master
Correctly calculate Wireless link quality
2015-10-16 00:44:09 -07:00
Stefan Bader
9e6e0d4f8f Correctly calculate Wireless link quality
Wireless quality was stuck at 100% due to
a signed with unsigned integer division.
2015-10-12 20:46:22 +02:00
Michael Stapelberg
dc94d6cba8 Merge pull request #76 from lahwaacz/volume_fix
Volume percentage should be obtained by float division and rounded to int
2015-10-12 11:29:52 -07:00
Jakub Klinkovský
611e863ace Volume percentage should be obtained by float division and rounded to int.
Fixes #75
2015-10-12 09:44:13 +02:00
Michael Stapelberg
1935110ef3 Merge pull request #71 from bsdjhb/freebsd_wifi_buildfix
Fix build under FreeBSD after recent changes for Linux.
2015-10-09 09:11:16 -07:00
Michael Stapelberg
c582090cbc Merge pull request #70 from bsdjhb/freebsd_battery
Properly detect the battery charging status under FreeBSD.
2015-10-09 09:11:03 -07:00
John Baldwin
9ebde24df1 Fix build under FreeBSD after recent changes for Linux. 2015-10-08 13:20:02 -07:00
John Baldwin
5e33d9fe74 Properly detect the battery charging status under FreeBSD.
The hw.acpi.battery.state sysctl returns a bitmask of flags as
defined in <dev/acpica/acpiio.h>.  Use constants from this header
to examine the state and check for the charging flag to determine
if the battery is charging.
2015-10-08 13:15:38 -07:00
Michael Stapelberg
974f95702e Merge pull request #68 from bsvh/master
Added support for lemonbar
2015-10-04 21:01:49 +02:00
Brendan Van Hook
a13b2e7288 Added support for lemonbar 2015-10-04 14:52:32 -04:00
Michael Stapelberg
f3125fdfde document code origins
fixes #65
2015-09-25 11:40:07 +02:00
Michael Stapelberg
06a133135f Fix comparison between signed/unsigned warning for real 2015-09-25 11:05:51 +02:00
Michael Stapelberg
b8b07511b1 use proper unsigned type for ESSID length 2015-09-25 10:49:14 +02:00
Michael Stapelberg
45ccd84309 use nlmsg_data instead of the too-new genlmsg_hdr 2015-09-25 10:49:01 +02:00
Michael Stapelberg
e1203ca62a use NL80211_RATE_INFO_BITRATE (16-bit)
NL80211_RATE_INFO_BITRATE32 is not available widely enough yet (the libc
used by travis doesn’t have it yet, for example).
2015-09-25 10:42:30 +02:00
Michael Stapelberg
83ab6e51c3 travis: switch to libnl-genl-3-dev 2015-09-24 21:54:02 +02:00
Michael Stapelberg
668bf2079f wireless (linux): switch from libiw to libnl
Based on http://cr.i3wm.org/patch/692/ by Alexander Monakov

fixes #32
fixes #52
2015-09-24 21:47:02 +02:00
Michael Stapelberg
51c1dbdba2 Merge pull request #62 from brioscaibriste/master
adding new markdown README.md to display nicely on github
2015-09-24 13:49:29 +02:00
Michael Stapelberg
c3a61ff0f4 Merge pull request #63 from JSmith-BitFlipper/patch-1
Resolved potential bug
2015-09-24 13:42:31 +02:00
konadr
b61665ab94 adding new markdown README.md to display nicely on github 2015-09-23 22:01:09 +01:00
JSmith-BitFlipper
2cd5c86915 Resolved potential bug
This pull request is in response to #61
2015-09-20 13:56:44 -04:00