]>
git.sur5r.net Git - i3/i3status/log
Tommie Gannert [Mon, 1 Aug 2016 10:37:47 +0000 (11:37 +0100)]
Remove warnings about unused variables in slurp_battery_info on OpenBSD.
Tommie Gannert [Mon, 1 Aug 2016 10:29:18 +0000 (11:29 +0100)]
Define IW_ESSID_MAX_SIZE for OpenBSD.
Also fixes a signedness warning.
Michael Stapelberg [Sat, 13 Aug 2016 21:01:48 +0000 (14:01 -0700)]
Merge pull request #145 from tommie/incremental_multibatt
Move OS-specific code from print_battery_info to a separate function
eplanet [Sat, 13 Aug 2016 20:46:31 +0000 (22:46 +0200)]
Deleting VERSION and extracting it from I3STATUS_VERSION instead (#146)
Tommie Gannert [Mon, 1 Aug 2016 00:49:12 +0000 (01:49 +0100)]
Move OS-specific code to slurp_battery_info.
Tommie Gannert [Mon, 1 Aug 2016 00:36:23 +0000 (01:36 +0100)]
Introduce a struct battery_info to carry information from data retrieval to the output formatter.
Michael Stapelberg [Wed, 3 Aug 2016 22:21:37 +0000 (00:21 +0200)]
Merge pull request #144 from tommie/incremental_multibatt
Refactor color code and computation of seconds_remaining in print_battery_info
Tommie Gannert [Mon, 1 Aug 2016 00:27:44 +0000 (01:27 +0100)]
Refactor common seconds_remaining code in print_battery_info.
Tommie Gannert [Mon, 1 Aug 2016 00:19:23 +0000 (01:19 +0100)]
Remove an END_COLOR in print_battery_info for OpenBSD.
This was probably a bug since it makes no sense to have here.
Tommie Gannert [Mon, 1 Aug 2016 00:15:35 +0000 (01:15 +0100)]
Move START_COLOR to after OS-specific code.
This uses the more direct tests of whether percentage_remaining and
seconds_remaining are available or not (rather than looking at
present_rate).
Michael Stapelberg [Wed, 3 Aug 2016 21:14:14 +0000 (23:14 +0200)]
Merge pull request #143 from tommie/incremental_multibatt
Remove emptytimebuf and consumptionbuf from print_battery_info
Tommie Gannert [Mon, 1 Aug 2016 00:07:23 +0000 (01:07 +0100)]
Remove consumptionbuf from print_battery_info.
Tommie Gannert [Mon, 1 Aug 2016 00:00:31 +0000 (01:00 +0100)]
Remove emptytimebuf from print_battery_info.
This changes the behavior for NetBSD: previously this time was not
shown while charging. On Linux it was treated as "full time". This
change makes all OSes behave the same.
OpenBSD and FreeBSD did not support emptytime previously.
Michael Stapelberg [Wed, 3 Aug 2016 16:45:45 +0000 (18:45 +0200)]
Merge pull request #142 from tommie/incremental_multibatt
Remove statusbuf, percentagebuf and remainingbuf from print_battery_info
Tommie Gannert [Sun, 31 Jul 2016 23:51:48 +0000 (00:51 +0100)]
Remove remainingbuf from print_battery_info.
eplanet [Mon, 1 Aug 2016 20:16:50 +0000 (22:16 +0200)]
Fixed typo in README.md (#141)
Tommie Gannert [Sun, 31 Jul 2016 23:33:19 +0000 (00:33 +0100)]
Remove percentagebuf from print_battery_info.
Tommie Gannert [Sun, 31 Jul 2016 23:24:40 +0000 (00:24 +0100)]
Remove statusbuf from print_battery_info.
Michael Stapelberg [Sat, 30 Jul 2016 17:23:20 +0000 (19:23 +0200)]
Merge pull request #139 from Gjum/wb-colored-cpu-usage
Add CPU usage color thresholds
Gjum [Wed, 27 Jul 2016 17:57:50 +0000 (19:57 +0200)]
change default cpu_usage thresholds to 90 and 95
Bandie Yip Kojote [Thu, 30 Jun 2016 07:52:35 +0000 (07:52 +0000)]
Manpage subsection TzTime: Example config now matches to the context (#134)
eplanet [Mon, 27 Jun 2016 06:49:51 +0000 (08:49 +0200)]
Added version files for release tarball. Fixes #78 (#132)
eplanet [Wed, 15 Jun 2016 21:13:40 +0000 (23:13 +0200)]
Default configuration paths ordered the same way as i3. Fixes #129 (#130)
Michael Stapelberg [Wed, 15 Jun 2016 19:41:27 +0000 (21:41 +0200)]
travis: use trusty instead of (failing) llvm repo
Alexis Hildebrandt [Fri, 13 May 2016 07:50:09 +0000 (09:50 +0200)]
Add ifdef to compile wireless_info on Mac (#127)
Watcom [Sat, 7 May 2016 22:19:30 +0000 (19:19 -0300)]
reconnect to PulseAudio if connection is lost (fixes #124) (#125)
Mark Schreiber [Wed, 13 Apr 2016 16:07:12 +0000 (09:07 -0700)]
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.
Michael Stapelberg [Wed, 30 Mar 2016 06:53:55 +0000 (08:53 +0200)]
Merge pull request #117 from egroat/master
Added status_unk to battery_info
eoin [Mon, 21 Mar 2016 22:41:22 +0000 (22:41 +0000)]
Added status_unk to battery_info
Michael Stapelberg [Mon, 21 Mar 2016 19:19:14 +0000 (12:19 -0700)]
Merge pull request #116 from eplanet/55_path_cputemp
Adding glob check to cpu temperature fixes #55
eplanet [Sun, 20 Mar 2016 10:47:56 +0000 (11:47 +0100)]
Adding glob check to cpu temperature fixes #55
Michael Stapelberg [Sat, 12 Mar 2016 03:10:45 +0000 (19:10 -0800)]
Merge pull request #114 from ixjlyons/fix-man-url
Fixed link to contrib in man page.
Kenneth Lyons [Fri, 11 Mar 2016 22:26:54 +0000 (14:26 -0800)]
Fixed link to contrib in man page.
Michael Stapelberg [Mon, 1 Feb 2016 07:53:27 +0000 (08:53 +0100)]
Merge pull request #105 from cornerman/issue_104
add separator and separator_block_width as universal module options
johannes karoff [Sun, 31 Jan 2016 18:16:42 +0000 (19:16 +0100)]
add separator and separator_block_width as universal module options
fixes #104
Michael Stapelberg [Mon, 25 Jan 2016 08:53:59 +0000 (00:53 -0800)]
Merge pull request #103 from craftyguy/bat_full_remaining
This removes the 'remaining' time when the battery is full, since the…
Clayton Craft [Mon, 25 Jan 2016 06:39:53 +0000 (22:39 -0800)]
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.
Michael Stapelberg [Fri, 22 Jan 2016 08:39:55 +0000 (00:39 -0800)]
Merge pull request #100 from czarkoff/mail-python
check_mail.py: more detailed report on IOError
Dmitrij D. Czarkoff [Thu, 21 Jan 2016 09:36:30 +0000 (10:36 +0100)]
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".
Michael Stapelberg [Tue, 12 Jan 2016 21:22:37 +0000 (13:22 -0800)]
Merge pull request #96 from bebehei/symbols-battery
give more descriptive symbols to battery format
Michael Stapelberg [Tue, 12 Jan 2016 19:57:04 +0000 (11:57 -0800)]
Merge pull request #95 from Watcom/nanosleep
revert back to using nanosleep
Benedikt Heine [Tue, 12 Jan 2016 14:07:33 +0000 (15:07 +0100)]
give more descriptive symbols to battery format
Watcom Hecht [Tue, 12 Jan 2016 13:35:02 +0000 (11:35 -0200)]
revert back to using nanosleep
Fixes #93
Michael Stapelberg [Tue, 12 Jan 2016 08:49:59 +0000 (09:49 +0100)]
Bugfix: check that format_not_mounted is not NULL before using it
This issue was introduced with commit
75a83574 .
fixes #92
Michael Stapelberg [Mon, 11 Jan 2016 09:04:18 +0000 (01:04 -0800)]
Merge pull request #94 from rpls/master
Forgotten wakeup call from USR1 handler
Richard Petri [Mon, 11 Jan 2016 08:58:44 +0000 (09:58 +0100)]
Forgotten wakeup call from USR1 handler
Fixes #93
Michael Stapelberg [Fri, 1 Jan 2016 18:49:04 +0000 (19:49 +0100)]
release v2.10
Michael Stapelberg [Sun, 27 Dec 2015 10:17:07 +0000 (11:17 +0100)]
Merge pull request #88 from auscompgeek/swaybar
format detection: recognise swaybar
David [Sun, 27 Dec 2015 04:59:32 +0000 (15:59 +1100)]
format detection: recognise swaybar
Michael Stapelberg [Wed, 23 Dec 2015 10:21:34 +0000 (11:21 +0100)]
Merge pull request #86 from remijouannet/master
update README.md with libnl-genl-3-dev
Rémi Jouannet [Wed, 23 Dec 2015 10:13:54 +0000 (11:13 +0100)]
update README.md with libnl-genl-3-dev
Michael Stapelberg [Sat, 5 Dec 2015 19:00:27 +0000 (20:00 +0100)]
Merge pull request #72 from ixjlyons/pango-setting
Implement a pango option
Kenneth Lyons [Mon, 5 Oct 2015 08:10:01 +0000 (01:10 -0700)]
Added support for Pango markup.
Michael Stapelberg [Tue, 24 Nov 2015 18:26:07 +0000 (19:26 +0100)]
fix compilation on FreeBSD
fixes #83
Michael Stapelberg [Mon, 16 Nov 2015 21:41:18 +0000 (22:41 +0100)]
first_eth_interface: ignore MAC addresses, look for IPv4/IPv6 addresses
Michael Stapelberg [Fri, 16 Oct 2015 07:44:09 +0000 (00:44 -0700)]
Merge pull request #77 from StefaBa/master
Correctly calculate Wireless link quality
Stefan Bader [Mon, 12 Oct 2015 18:46:22 +0000 (20:46 +0200)]
Correctly calculate Wireless link quality
Wireless quality was stuck at 100% due to
a signed with unsigned integer division.
Michael Stapelberg [Mon, 12 Oct 2015 18:29:52 +0000 (11:29 -0700)]
Merge pull request #76 from lahwaacz/volume_fix
Volume percentage should be obtained by float division and rounded to int
Jakub Klinkovský [Mon, 12 Oct 2015 07:44:13 +0000 (09:44 +0200)]
Volume percentage should be obtained by float division and rounded to int.
Fixes #75
Michael Stapelberg [Fri, 9 Oct 2015 16:11:16 +0000 (09:11 -0700)]
Merge pull request #71 from bsdjhb/freebsd_wifi_buildfix
Fix build under FreeBSD after recent changes for Linux.
Michael Stapelberg [Fri, 9 Oct 2015 16:11:03 +0000 (09:11 -0700)]
Merge pull request #70 from bsdjhb/freebsd_battery
Properly detect the battery charging status under FreeBSD.
John Baldwin [Thu, 8 Oct 2015 20:20:02 +0000 (13:20 -0700)]
Fix build under FreeBSD after recent changes for Linux.
John Baldwin [Thu, 8 Oct 2015 20:15:38 +0000 (13:15 -0700)]
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.
Michael Stapelberg [Sun, 4 Oct 2015 19:01:49 +0000 (21:01 +0200)]
Merge pull request #68 from bsvh/master
Added support for lemonbar
Brendan Van Hook [Fri, 2 Oct 2015 06:28:53 +0000 (02:28 -0400)]
Added support for lemonbar
Michael Stapelberg [Fri, 25 Sep 2015 09:39:50 +0000 (11:39 +0200)]
document code origins
fixes #65
Michael Stapelberg [Fri, 25 Sep 2015 09:05:51 +0000 (11:05 +0200)]
Fix comparison between signed/unsigned warning for real
Michael Stapelberg [Fri, 25 Sep 2015 08:49:14 +0000 (10:49 +0200)]
use proper unsigned type for ESSID length
Michael Stapelberg [Fri, 25 Sep 2015 08:49:01 +0000 (10:49 +0200)]
use nlmsg_data instead of the too-new genlmsg_hdr
Michael Stapelberg [Fri, 25 Sep 2015 08:42:30 +0000 (10:42 +0200)]
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).
Michael Stapelberg [Thu, 24 Sep 2015 19:54:02 +0000 (21:54 +0200)]
travis: switch to libnl-genl-3-dev
Michael Stapelberg [Thu, 24 Sep 2015 19:47:02 +0000 (21:47 +0200)]
wireless (linux): switch from libiw to libnl
Based on http://cr.i3wm.org/patch/692/ by Alexander Monakov
fixes #32
fixes #52
Michael Stapelberg [Thu, 24 Sep 2015 11:49:29 +0000 (13:49 +0200)]
Merge pull request #62 from brioscaibriste/master
adding new markdown README.md to display nicely on github
Michael Stapelberg [Thu, 24 Sep 2015 11:42:31 +0000 (13:42 +0200)]
Merge pull request #63 from JSmith-BitFlipper/patch-1
Resolved potential bug
konadr [Wed, 23 Sep 2015 21:01:09 +0000 (22:01 +0100)]
adding new markdown README.md to display nicely on github
JSmith-BitFlipper [Sun, 20 Sep 2015 17:56:44 +0000 (13:56 -0400)]
Resolved potential bug
This pull request is in response to #61
Michael Stapelberg [Wed, 16 Sep 2015 12:06:48 +0000 (14:06 +0200)]
Merge pull request #59 from bsdjhb/freebsd_wifi
Fix various issues with wireless information under FreeBSD:
Michael Stapelberg [Wed, 16 Sep 2015 12:06:32 +0000 (14:06 +0200)]
Merge pull request #58 from bsdjhb/freebsd_ethernet_media
Fix some issues with displaying Ethernet media status on recent FreeBSD kernels.
John Baldwin [Tue, 15 Sep 2015 20:39:01 +0000 (13:39 -0700)]
Fix various issues with wireless information under FreeBSD:
- Instead of hoping that the currently associated AP will show up as
the first AP in the list of scan results, fetch the BSSID of the
currently associated AP and use that to fetch station info for the
AP. This provides more frequently updated signal strength
information than scan results and reliably provides information when
multiple APs are in range.
- Do not treat the RSSI value as a raw signal value in dBm. Instead, use
the same formula as ifconfig(8) to compute a signal value.
- Do not report the beacon interval value as a signal quality level.
John Baldwin [Tue, 15 Sep 2015 17:48:16 +0000 (10:48 -0700)]
Fix some issues with displaying Ethernet media status on recent FreeBSD kernels.
- Don't apply IFM_SUBTYPE to the raw subtype in the description table.
IFM_SUBTYPE() requires a fully populated word and was truncating values
in the table when comparing resulting in false matches (notably
"10GBase-KX4" for the no media case) after recent changes to add extended
Ethernet media states in FreeBSD.
- Explicitly check for IFM_ETHER.
- Use SIOCGIFXMEDIA when present to obtain extended media states on newer
kernels.
- Explicitly handle "no carrier".
Michael Stapelberg [Mon, 10 Aug 2015 17:48:15 +0000 (19:48 +0200)]
Merge pull request #51 from czarkoff/mail-python
Basic mail checker in python
Dmitrij D. Czarkoff [Fri, 7 Aug 2015 20:47:34 +0000 (22:47 +0200)]
Basic mail checker in python
Michael Stapelberg [Thu, 6 Aug 2015 16:18:19 +0000 (18:18 +0200)]
Merge pull request #50 from czarkoff/no_ip
Use "color_degraded" when interface has no IP
Dmitrij D. Czarkoff [Thu, 6 Aug 2015 15:14:38 +0000 (17:14 +0200)]
Use "color_degraded" when interface has no IP
On laptops one may want to have all interfaces up in order to let network
prioritization manage switching between wired and wireless connection. In such
cases lack of IP address is a useful hint about currently used interface, and
color-coding makes it stand out more.
Michael Stapelberg [Sun, 2 Aug 2015 16:13:11 +0000 (09:13 -0700)]
Merge pull request #47 from czarkoff/sndio
Use SndIO for volume module on OpenBSD
Dmitrij D. Czarkoff [Thu, 30 Jul 2015 23:51:40 +0000 (01:51 +0200)]
Use SndIO for volume module on OpenBSD
* add audio(4) code by Robert Nagy
* disable PulseAudio
While at OpenBSD support, add "-pthread" to LIBS.
Michael Stapelberg [Wed, 8 Jul 2015 06:12:13 +0000 (23:12 -0700)]
Merge pull request #40 from afh/pull/osx
Mac OS X compatibility changes
Alexis Hildebrandt [Mon, 6 Jul 2015 13:40:30 +0000 (15:40 +0200)]
Add ifdef to compile print_disk_info on Mac
Alexis Hildebrandt [Mon, 6 Jul 2015 13:39:34 +0000 (15:39 +0200)]
Use gettimeofday instead of clock_gettime on Mac
since the latter is not available.
Alexis Hildebrandt [Wed, 10 Jun 2015 17:03:29 +0000 (19:03 +0200)]
Fix undeclared identifier thermal_zone error
when THERMAL_ZONE is not defined.
Alexis Hildebrandt [Wed, 10 Jun 2015 17:02:57 +0000 (19:02 +0200)]
Add A2X_FLAGS
to be able to optionally skip xmllint, which errors on Mac OS X.
Alexis Hildebrandt [Wed, 10 Jun 2015 17:01:13 +0000 (19:01 +0200)]
Whitespace edit
Michael Stapelberg [Sat, 13 Jun 2015 10:40:39 +0000 (12:40 +0200)]
Merge pull request #39 from vikstrous/master
add apostrophe to error message to fix grammar
Viktor Stanchev [Sat, 13 Jun 2015 03:08:12 +0000 (23:08 -0400)]
add apostrophe to error message to fix grammar
Michael Stapelberg [Fri, 29 May 2015 07:52:46 +0000 (09:52 +0200)]
Merge pull request #35 from Airblader/feature-33
Use format_not_mounted if path does not exist
Ingo Bürk [Fri, 29 May 2015 06:41:11 +0000 (08:41 +0200)]
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
Michael Stapelberg [Wed, 20 May 2015 17:17:23 +0000 (19:17 +0200)]
Clamp the percentage at 100% when last_full_capacity is enabled.
Michael Stapelberg [Tue, 5 May 2015 18:19:42 +0000 (11:19 -0700)]
Merge pull request #26 from nhelke/master
Changed battery info output to HH:MM for consistency accross all platforms
Nicholas Helke [Thu, 16 Apr 2015 20:58:40 +0000 (21:58 +0100)]
Changed battery info output to HH:MM for consistency accross all platforms
Michael Stapelberg [Tue, 21 Apr 2015 20:52:08 +0000 (22:52 +0200)]
Merge pull request #30 from Deiz/update-notices
Update copyright notices and get rid of ranges