]> git.sur5r.net Git - i3/i3status/log
i3/i3status
8 years agoSimplify string comparisons in slurp_battery_info for NetBSD.
Tommie Gannert [Mon, 1 Aug 2016 19:28:16 +0000 (20:28 +0100)]
Simplify string comparisons in slurp_battery_info for NetBSD.

Doing strlen(a) == strlen(b) && strncmp(a, b, N) seems to have no
benefits compared to just strcmp(a, b). The NetBSD cstring properties
come from the kernel, not the user.

The test for units did a prefix match, but that looked like a bug, the
unit is "Watt hour" in my Virtual box.

8 years agoMake print_disk_info, print_eth_info and print_wireless_info compile on NetBSD withou...
Tommie Gannert [Mon, 1 Aug 2016 13:34:39 +0000 (14:34 +0100)]
Make print_disk_info, print_eth_info and print_wireless_info compile on NetBSD without warnings.

8 years agoRemove warnings about unused variables in slurp_battery_info on OpenBSD.
Tommie Gannert [Mon, 1 Aug 2016 10:37:47 +0000 (11:37 +0100)]
Remove warnings about unused variables in slurp_battery_info on OpenBSD.

8 years agoDefine IW_ESSID_MAX_SIZE for 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.

8 years agoMerge pull request #145 from tommie/incremental_multibatt
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

8 years agoDeleting VERSION and extracting it from I3STATUS_VERSION instead (#146)
eplanet [Sat, 13 Aug 2016 20:46:31 +0000 (22:46 +0200)]
Deleting VERSION and extracting it from I3STATUS_VERSION instead (#146)

8 years agoMove OS-specific code to slurp_battery_info. 145/head
Tommie Gannert [Mon, 1 Aug 2016 00:49:12 +0000 (01:49 +0100)]
Move OS-specific code to slurp_battery_info.

8 years agoIntroduce a struct battery_info to carry information from data retrieval to the outpu...
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.

8 years agoMerge pull request #144 from tommie/incremental_multibatt
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

8 years agoRefactor common seconds_remaining code in print_battery_info. 144/head
Tommie Gannert [Mon, 1 Aug 2016 00:27:44 +0000 (01:27 +0100)]
Refactor common seconds_remaining code in print_battery_info.

8 years agoRemove an END_COLOR in print_battery_info for OpenBSD.
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.

8 years agoMove START_COLOR to after OS-specific code.
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).

8 years agoMerge pull request #143 from tommie/incremental_multibatt
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

8 years agoRemove consumptionbuf from print_battery_info. 143/head
Tommie Gannert [Mon, 1 Aug 2016 00:07:23 +0000 (01:07 +0100)]
Remove consumptionbuf from print_battery_info.

8 years agoRemove emptytimebuf 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.

8 years agoMerge pull request #142 from tommie/incremental_multibatt
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

8 years agoRemove remainingbuf from print_battery_info. 142/head
Tommie Gannert [Sun, 31 Jul 2016 23:51:48 +0000 (00:51 +0100)]
Remove remainingbuf from print_battery_info.

8 years agoFixed typo in README.md (#141)
eplanet [Mon, 1 Aug 2016 20:16:50 +0000 (22:16 +0200)]
Fixed typo in README.md (#141)

8 years agoRemove percentagebuf from print_battery_info.
Tommie Gannert [Sun, 31 Jul 2016 23:33:19 +0000 (00:33 +0100)]
Remove percentagebuf from print_battery_info.

8 years agoRemove statusbuf from print_battery_info.
Tommie Gannert [Sun, 31 Jul 2016 23:24:40 +0000 (00:24 +0100)]
Remove statusbuf from print_battery_info.

8 years agoMerge pull request #139 from Gjum/wb-colored-cpu-usage
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

8 years agochange default cpu_usage thresholds to 90 and 95 139/head
Gjum [Wed, 27 Jul 2016 17:57:50 +0000 (19:57 +0200)]
change default cpu_usage thresholds to 90 and 95

8 years agoManpage subsection TzTime: Example config now matches to the context (#134)
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)

8 years agoAdded version files for release tarball. Fixes #78 (#132)
eplanet [Mon, 27 Jun 2016 06:49:51 +0000 (08:49 +0200)]
Added version files for release tarball. Fixes #78 (#132)

8 years agoDefault configuration paths ordered the same way as i3. Fixes #129 (#130)
eplanet [Wed, 15 Jun 2016 21:13:40 +0000 (23:13 +0200)]
Default configuration paths ordered the same way as i3. Fixes #129 (#130)

8 years agotravis: use trusty instead of (failing) llvm repo
Michael Stapelberg [Wed, 15 Jun 2016 19:41:27 +0000 (21:41 +0200)]
travis: use trusty instead of (failing) llvm repo

8 years agoAdd ifdef to compile wireless_info on Mac (#127)
Alexis Hildebrandt [Fri, 13 May 2016 07:50:09 +0000 (09:50 +0200)]
Add ifdef to compile wireless_info on Mac (#127)

8 years agoreconnect to PulseAudio if connection is lost (fixes #124) (#125)
Watcom [Sat, 7 May 2016 22:19:30 +0000 (19:19 -0300)]
reconnect to PulseAudio if connection is lost (fixes #124) (#125)

8 years agoAdd CPU usage color thresholds 122/head
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.

8 years agoMerge pull request #117 from egroat/master upstream/master
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

8 years agoAdded status_unk to battery_info 117/head
eoin [Mon, 21 Mar 2016 22:41:22 +0000 (22:41 +0000)]
Added status_unk to battery_info

8 years agoMerge pull request #116 from eplanet/55_path_cputemp
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

8 years agoAdding glob check to cpu temperature fixes #55 116/head
eplanet [Sun, 20 Mar 2016 10:47:56 +0000 (11:47 +0100)]
Adding glob check to cpu temperature fixes #55

8 years agoMerge pull request #114 from ixjlyons/fix-man-url
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.

8 years agoFixed link to contrib in man page. 114/head
Kenneth Lyons [Fri, 11 Mar 2016 22:26:54 +0000 (14:26 -0800)]
Fixed link to contrib in man page.

8 years agoMerge pull request #105 from cornerman/issue_104
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

8 years agoadd separator and separator_block_width as universal module options 105/head
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

8 years agoMerge pull request #103 from craftyguy/bat_full_remaining
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…

8 years agoThis removes the 'remaining' time when the battery is full, since the remaining time... 103/head
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.

8 years agoMerge pull request #100 from czarkoff/mail-python
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

8 years agocheck_mail.py: more detailed report on IOError 100/head
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".

8 years agoMerge pull request #96 from bebehei/symbols-battery
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

8 years agoMerge pull request #95 from Watcom/nanosleep
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

8 years agogive more descriptive symbols to battery format 96/head
Benedikt Heine [Tue, 12 Jan 2016 14:07:33 +0000 (15:07 +0100)]
give more descriptive symbols to battery format

8 years agorevert back to using nanosleep 95/head
Watcom Hecht [Tue, 12 Jan 2016 13:35:02 +0000 (11:35 -0200)]
revert back to using nanosleep

Fixes #93

8 years agoBugfix: check that format_not_mounted is not NULL before using it
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

8 years agoMerge pull request #94 from rpls/master
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

8 years agoForgotten wakeup call from USR1 handler 94/head
Richard Petri [Mon, 11 Jan 2016 08:58:44 +0000 (09:58 +0100)]
Forgotten wakeup call from USR1 handler

Fixes #93

8 years agorelease v2.10 2.10
Michael Stapelberg [Fri, 1 Jan 2016 18:49:04 +0000 (19:49 +0100)]
release v2.10

8 years agoMerge pull request #88 from auscompgeek/swaybar
Michael Stapelberg [Sun, 27 Dec 2015 10:17:07 +0000 (11:17 +0100)]
Merge pull request #88 from auscompgeek/swaybar

format detection: recognise swaybar

8 years agoformat detection: recognise swaybar 88/head
David [Sun, 27 Dec 2015 04:59:32 +0000 (15:59 +1100)]
format detection: recognise swaybar

8 years agoMerge pull request #86 from remijouannet/master
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

8 years agoupdate README.md with libnl-genl-3-dev 86/head
Rémi Jouannet [Wed, 23 Dec 2015 10:13:54 +0000 (11:13 +0100)]
update README.md with libnl-genl-3-dev

8 years agoMerge pull request #72 from ixjlyons/pango-setting
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

8 years agoAdded support for Pango markup. 72/head
Kenneth Lyons [Mon, 5 Oct 2015 08:10:01 +0000 (01:10 -0700)]
Added support for Pango markup.

9 years agofix compilation on FreeBSD
Michael Stapelberg [Tue, 24 Nov 2015 18:26:07 +0000 (19:26 +0100)]
fix compilation on FreeBSD

fixes #83

9 years agofirst_eth_interface: ignore MAC addresses, look for IPv4/IPv6 addresses
Michael Stapelberg [Mon, 16 Nov 2015 21:41:18 +0000 (22:41 +0100)]
first_eth_interface: ignore MAC addresses, look for IPv4/IPv6 addresses

9 years agoMerge pull request #77 from StefaBa/master
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

9 years agoCorrectly calculate Wireless link quality 77/head
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.

9 years agoMerge pull request #76 from lahwaacz/volume_fix
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

9 years agoVolume percentage should be obtained by float division and rounded to int. 76/head
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

9 years agoMerge pull request #71 from bsdjhb/freebsd_wifi_buildfix
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.

9 years agoMerge pull request #70 from bsdjhb/freebsd_battery
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.

9 years agoFix build under FreeBSD after recent changes for Linux. 71/head
John Baldwin [Thu, 8 Oct 2015 20:20:02 +0000 (13:20 -0700)]
Fix build under FreeBSD after recent changes for Linux.

9 years agoProperly detect the battery charging status under FreeBSD. 70/head
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.

9 years agoMerge pull request #68 from bsvh/master
Michael Stapelberg [Sun, 4 Oct 2015 19:01:49 +0000 (21:01 +0200)]
Merge pull request #68 from bsvh/master

Added support for lemonbar

9 years agoAdded support for lemonbar 68/head
Brendan Van Hook [Fri, 2 Oct 2015 06:28:53 +0000 (02:28 -0400)]
Added support for lemonbar

9 years agodocument code origins
Michael Stapelberg [Fri, 25 Sep 2015 09:39:50 +0000 (11:39 +0200)]
document code origins

fixes #65

9 years agoFix comparison between signed/unsigned warning for real
Michael Stapelberg [Fri, 25 Sep 2015 09:05:51 +0000 (11:05 +0200)]
Fix comparison between signed/unsigned warning for real

9 years agouse proper unsigned type for ESSID length
Michael Stapelberg [Fri, 25 Sep 2015 08:49:14 +0000 (10:49 +0200)]
use proper unsigned type for ESSID length

9 years agouse nlmsg_data instead of the too-new genlmsg_hdr
Michael Stapelberg [Fri, 25 Sep 2015 08:49:01 +0000 (10:49 +0200)]
use nlmsg_data instead of the too-new genlmsg_hdr

9 years agouse NL80211_RATE_INFO_BITRATE (16-bit)
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).

9 years agotravis: switch to libnl-genl-3-dev
Michael Stapelberg [Thu, 24 Sep 2015 19:54:02 +0000 (21:54 +0200)]
travis: switch to libnl-genl-3-dev

9 years agowireless (linux): switch from libiw to libnl
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

9 years agoMerge pull request #62 from brioscaibriste/master
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

9 years agoMerge pull request #63 from JSmith-BitFlipper/patch-1
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

9 years agoadding new markdown README.md to display nicely on github 62/head
konadr [Wed, 23 Sep 2015 21:01:09 +0000 (22:01 +0100)]
adding new markdown README.md to display nicely on github

9 years agoResolved potential bug 63/head
JSmith-BitFlipper [Sun, 20 Sep 2015 17:56:44 +0000 (13:56 -0400)]
Resolved potential bug

This pull request is in response to #61

9 years agoMerge pull request #59 from bsdjhb/freebsd_wifi
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:

9 years agoMerge pull request #58 from bsdjhb/freebsd_ethernet_media
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.

9 years agoFix various issues with wireless information under FreeBSD: 59/head
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.

9 years agoFix some issues with displaying Ethernet media status on recent FreeBSD kernels. 58/head
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".

9 years agoMerge pull request #51 from czarkoff/mail-python
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

9 years agoBasic mail checker in python 51/head
Dmitrij D. Czarkoff [Fri, 7 Aug 2015 20:47:34 +0000 (22:47 +0200)]
Basic mail checker in python

9 years agoMerge pull request #50 from czarkoff/no_ip
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

9 years agoUse "color_degraded" when interface has no IP 50/head
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.

9 years agoMerge pull request #47 from czarkoff/sndio
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

9 years agoUse SndIO for volume module on OpenBSD 47/head
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.

9 years agoMerge pull request #40 from afh/pull/osx
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

9 years agoAdd ifdef to compile print_disk_info on Mac 40/head
Alexis Hildebrandt [Mon, 6 Jul 2015 13:40:30 +0000 (15:40 +0200)]
Add ifdef to compile print_disk_info on Mac

9 years agoUse gettimeofday instead of clock_gettime 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.

9 years agoFix undeclared identifier thermal_zone error
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.

9 years agoAdd A2X_FLAGS
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.

9 years agoWhitespace edit
Alexis Hildebrandt [Wed, 10 Jun 2015 17:01:13 +0000 (19:01 +0200)]
Whitespace edit

9 years agoMerge pull request #39 from vikstrous/master
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

9 years agoadd apostrophe to error message to fix grammar 39/head
Viktor Stanchev [Sat, 13 Jun 2015 03:08:12 +0000 (23:08 -0400)]
add apostrophe to error message to fix grammar

9 years agoMerge pull request #35 from Airblader/feature-33
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

9 years agoUse format_not_mounted if the directory for a disk_info block does not exist. 35/head
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

9 years agoClamp the percentage at 100% when last_full_capacity is enabled.
Michael Stapelberg [Wed, 20 May 2015 17:17:23 +0000 (19:17 +0200)]
Clamp the percentage at 100% when last_full_capacity is enabled.

9 years agoMerge pull request #26 from nhelke/master
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