]> git.sur5r.net Git - i3/i3status/log
i3/i3status
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

9 years agoChanged battery info output to HH:MM for consistency accross all platforms 26/head
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

9 years agoMerge pull request #30 from Deiz/update-notices
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

9 years agoUpdate copyright notices and get rid of ranges 30/head
Deiz [Tue, 21 Apr 2015 15:48:29 +0000 (11:48 -0400)]
Update copyright notices and get rid of ranges

The script used to make these changes can be found at:

   https://gist.github.com/Deiz/32322020f76d23e2bf8f

9 years agotravis: re-add libpulse-dev
Michael Stapelberg [Mon, 20 Apr 2015 06:43:08 +0000 (08:43 +0200)]
travis: re-add libpulse-dev

9 years agotravis: switch to container-based build infrastructure
Michael Stapelberg [Mon, 20 Apr 2015 06:36:34 +0000 (08:36 +0200)]
travis: switch to container-based build infrastructure

9 years agoMerge pull request #28 from Watcom/mute
Michael Stapelberg [Sun, 19 Apr 2015 16:40:09 +0000 (09:40 -0700)]
Merge pull request #28 from Watcom/mute

PulseAudio muted volume support

9 years agoPulseAudio muted volume support (fixes #27) 28/head
Watcom Hecht [Sun, 19 Apr 2015 14:32:51 +0000 (11:32 -0300)]
PulseAudio muted volume support (fixes #27)

9 years agoMerge pull request #23 from Deiz/net-speed
Michael Stapelberg [Sun, 12 Apr 2015 16:12:22 +0000 (09:12 -0700)]
Merge pull request #23 from Deiz/net-speed

Basic XDG support and minor tweaks to the net-speed script

9 years agoMerge pull request #24 from tanderson92/master
Michael Stapelberg [Wed, 8 Apr 2015 07:53:40 +0000 (00:53 -0700)]
Merge pull request #24 from tanderson92/master

Add support for differing PREFIX and MANPREFIX.

9 years agoAdd support for differing PREFIX and MANPREFIX. 24/head
Thomas Anderson [Wed, 8 Apr 2015 00:28:07 +0000 (17:28 -0700)]
Add support for differing PREFIX and MANPREFIX.

Sometimes we do not want man pages to go to $(PREFIX)/man, as in the
case of cross-compiling on distributions such as Exherbo.

9 years agoBasic XDG support and minor tweaks to the net-speed script 23/head
Deiz [Sat, 4 Apr 2015 17:12:30 +0000 (13:12 -0400)]
Basic XDG support and minor tweaks to the net-speed script

9 years agoMerge pull request #22 from jasperla/obsd_signal
Michael Stapelberg [Sat, 4 Apr 2015 16:03:45 +0000 (09:03 -0700)]
Merge pull request #22 from jasperla/obsd_signal

Use the maximum rssi, not the scaled percentage for the signal level.

9 years agoUse the maximum rssi, not the scaled percentage for the signal level. 22/head
Jasper Lievisse Adriaanse [Sat, 4 Apr 2015 08:56:58 +0000 (10:56 +0200)]
Use the maximum rssi, not the scaled percentage for the signal level.

This makes the value for %signal match ifconfig(8) in all cases.

9 years agoMerge pull request #7 from Watcom/master
Michael Stapelberg [Fri, 3 Apr 2015 21:45:40 +0000 (14:45 -0700)]
Merge pull request #7 from Watcom/master

PulseAudio support for volume input

9 years agoPulseAudio support for volume input 7/head
Watcom Hecht [Wed, 11 Mar 2015 16:29:32 +0000 (13:29 -0300)]
PulseAudio support for volume input

9 years agoMerge pull request #17 from chrko/format_down
Michael Stapelberg [Thu, 2 Apr 2015 20:42:47 +0000 (13:42 -0700)]
Merge pull request #17 from chrko/format_down

Adding format_down option to path_exists and run_watch

9 years agoAdding the option "format_down" to path_exists and run_watch. 17/head
Christian Kohlstedde [Thu, 2 Apr 2015 20:31:06 +0000 (22:31 +0200)]
Adding the option "format_down" to path_exists and run_watch.
This fixes #1.

9 years agoMerge pull request #16 from He-Ro/patch-1
Michael Stapelberg [Thu, 2 Apr 2015 20:14:36 +0000 (13:14 -0700)]
Merge pull request #16 from He-Ro/patch-1

Fix spacing

9 years agoMerge pull request #18 from jasperla/sched_h
Michael Stapelberg [Thu, 2 Apr 2015 20:13:34 +0000 (13:13 -0700)]
Merge pull request #18 from jasperla/sched_h

sys/dkstat.h has been removed from OpenBSD and it's functionality actual...

9 years agosys/dkstat.h has been removed from OpenBSD and it's functionality actually lived... 18/head
Jasper Lievisse Adriaanse [Thu, 2 Apr 2015 18:31:17 +0000 (20:31 +0200)]
sys/dkstat.h has been removed from OpenBSD and it's functionality actually lived/lives in sys/sched.h

9 years agoFix spacing 16/head
Hendrik R [Thu, 2 Apr 2015 09:56:47 +0000 (11:56 +0200)]
Fix spacing

9 years agofix invalid forward declaration
Michael Stapelberg [Thu, 2 Apr 2015 07:06:07 +0000 (09:06 +0200)]
fix invalid forward declaration

9 years agoMerge pull request #15 from Watcom/refactor
Michael Stapelberg [Sun, 29 Mar 2015 20:56:50 +0000 (22:56 +0200)]
Merge pull request #15 from Watcom/refactor

refactoring to avoid code duplication

9 years agorefactoring to avoid code duplication 15/head
Watcom Hecht [Sat, 28 Mar 2015 20:00:33 +0000 (17:00 -0300)]
refactoring to avoid code duplication

9 years agoMerge pull request #13 from bapt/master
Michael Stapelberg [Wed, 25 Mar 2015 07:56:00 +0000 (08:56 +0100)]
Merge pull request #13 from bapt/master

Fixes for FreeBSD

9 years agoprint_cpu_usage: Fix warnings on non linux 13/head
Baptiste Daroussin [Wed, 25 Mar 2015 07:19:13 +0000 (08:19 +0100)]
print_cpu_usage: Fix warnings on non linux

Move linux variable under LINUX boundaries

9 years agoprint_eth_info: fix warnings on FreeBSD
Baptiste Daroussin [Wed, 25 Mar 2015 07:18:00 +0000 (08:18 +0100)]
print_eth_info: fix warnings on FreeBSD

9 years agoprint_volume: don’t return, complete the buffer first
Baptiste Daroussin [Wed, 25 Mar 2015 07:13:47 +0000 (08:13 +0100)]
print_volume: don’t return, complete the buffer first

Follow the changed done for Linux on f0cd726b

9 years agoFix build on FreeBSD
Baptiste Daroussin [Wed, 25 Mar 2015 07:03:23 +0000 (08:03 +0100)]
Fix build on FreeBSD

9 years agoMerge pull request #12 from Airblader/feature-tztime-instance
Michael Stapelberg [Mon, 23 Mar 2015 21:12:21 +0000 (22:12 +0100)]
Merge pull request #12 from Airblader/feature-tztime-instance

Pass the "instance" JSON property key for tztime blocks

9 years agoPass the "instance" JSON property key for tztime blocks 12/head
Ingo Bürk [Mon, 23 Mar 2015 20:42:52 +0000 (21:42 +0100)]
Pass the "instance" JSON property key for tztime blocks

fixes #10

9 years agoMerge pull request #11 from AloisMahdal/man_bat_typo
Michael Stapelberg [Mon, 23 Mar 2015 18:24:27 +0000 (19:24 +0100)]
Merge pull request #11 from AloisMahdal/man_bat_typo

Fix typo in battery example

9 years agoFix typo in battery example 11/head
Alois Mahdal [Mon, 23 Mar 2015 18:12:44 +0000 (19:12 +0100)]
Fix typo in battery example

9 years agorelease v2.9 2.9
Michael Stapelberg [Sun, 22 Mar 2015 16:58:40 +0000 (17:58 +0100)]
release v2.9

9 years agoMerge pull request #8 from azuwis/master
Michael Stapelberg [Mon, 16 Mar 2015 21:47:51 +0000 (22:47 +0100)]
Merge pull request #8 from azuwis/master

Add contrib/net-speed, a reimplementation of contrib/measure-net-speed.bash

9 years agoadd .travis.yml
Michael Stapelberg [Mon, 16 Mar 2015 18:35:22 +0000 (19:35 +0100)]
add .travis.yml

9 years agoadd CONTRIBUTING file
Michael Stapelberg [Mon, 16 Mar 2015 09:02:22 +0000 (10:02 +0100)]
add CONTRIBUTING file

9 years agoclang-format-3.5 -i **/*.[ch], update modeline
Michael Stapelberg [Mon, 16 Mar 2015 09:00:32 +0000 (10:00 +0100)]
clang-format-3.5 -i **/*.[ch], update modeline

From here on, we’ll use clang-format to automatically format the source.

This has worked well in i3, so we are introducing it for i3status.

9 years agoAdd contrib/net-speed 8/head
Zhong Jianxin [Thu, 21 Aug 2014 02:00:36 +0000 (10:00 +0800)]
Add contrib/net-speed

A reimplementation of contrib/measure-net-speed.bash.

- Single script
- Compatible with most POSIX shells, tested with bash, dash, busybox ash
- Auto detect interfaces
- Does not write temp files

9 years agoMerge pull request #3 from chrko/master
Michael Stapelberg [Sun, 1 Mar 2015 15:42:59 +0000 (07:42 -0800)]
Merge pull request #3 from chrko/master

Modify print_disk_info. Now there is no output if the path is no mountpoint.

9 years agoremoving Yoda-Style 3/head
Christian Kohlstedde [Sun, 22 Feb 2015 17:25:12 +0000 (18:25 +0100)]
removing Yoda-Style
adding some words in the manpage

9 years agoAdding optional configuration option to "print_disk_info".
Christian Kohlstedde [Wed, 18 Feb 2015 22:43:25 +0000 (23:43 +0100)]
Adding optional configuration option to "print_disk_info".

9 years agoExcluding the code on BSD systems.
Christian Kohlstedde [Wed, 18 Feb 2015 21:11:57 +0000 (22:11 +0100)]
Excluding the code on BSD systems.

9 years agoMake the code more readable.
Christian Kohlstedde [Wed, 18 Feb 2015 21:11:16 +0000 (22:11 +0100)]
Make the code more readable.

9 years agoModify print_disk_info. Now there is no output if the path is no mountpoint.
Christian Kohlstedde [Wed, 18 Feb 2015 15:53:24 +0000 (16:53 +0100)]
Modify print_disk_info. Now there is no output if the path is no mountpoint.

9 years agoMerge pull request #2 from pfsmorigo/master
Michael Stapelberg [Sun, 8 Feb 2015 13:04:34 +0000 (13:04 +0000)]
Merge pull request #2 from pfsmorigo/master

Add i3status and man/i3status.1 to ignore list.

9 years agoAdd i3status and man/i3status.1 to ignore list. 2/head
Paulo Flabiano Smorigo [Sun, 8 Feb 2015 00:17:59 +0000 (22:17 -0200)]
Add i3status and man/i3status.1 to ignore list.

9 years agomake github the canonical i3status repository
Michael Stapelberg [Fri, 26 Dec 2014 20:13:52 +0000 (21:13 +0100)]
make github the canonical i3status repository

9 years agoAvoid use of uninitialized variable in print_battery_info
Alexander Monakov [Thu, 18 Dec 2014 15:23:25 +0000 (18:23 +0300)]
Avoid use of uninitialized variable in print_battery_info

The boolean flag 'watt_as_unit' may be used without being initialized if the
configured battery path does not contain expected statistics (for example if
it is misconfigured and points to AC adapter info or simply an unrelated file).

Even though it does not cause ill effects, it causes a warning (true positive)
when running i3status under Valgrind.  Initialize the variable to make code
well-defined.

9 years agoAllocate and expose per-instance pointers for plugins
Alexander Monakov [Sun, 7 Dec 2014 20:32:19 +0000 (23:32 +0300)]
Allocate and expose per-instance pointers for plugins

9 years agosupport the special interface name _first_ for ethernet/wireless
Michael Stapelberg [Sun, 7 Dec 2014 14:14:02 +0000 (15:14 +0100)]
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).

9 years agoi3status: Support %frequency for wireless interfaces
Tuomas Tynkkynen [Mon, 1 Dec 2014 16:30:30 +0000 (18:30 +0200)]
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"

10 years agoUpdated the man page for i3status with information about the new individual strings...
Cyril Andreatta [Tue, 7 Oct 2014 14:14:16 +0000 (16:14 +0200)]
Updated the man page for i3status with information about the new individual strings that can be used for each battery status.

10 years agoCreated three individual Strings for each battery status (charging, dicharching,...
Cyril Andreatta [Tue, 7 Oct 2014 13:47:58 +0000 (15:47 +0200)]
Created three individual Strings for each battery status (charging, dicharching, full)

Replaced hard coded status strings (CHR, BAT, FULL) in
print_battery_info.c with user defined strings. The new strings are
'status_chr', 'status_bat' and 'status_full' and can be set in i3status.conf.
e.g.
status_chr = "⚡ CHR"

If any of the new status strings is omitted the standard strings (CHR,
BAT, FULL) are used.

10 years agoBugfix: fix wrong color tags with xmobar
Michael Stapelberg [Tue, 26 Aug 2014 18:54:04 +0000 (20:54 +0200)]
Bugfix: fix wrong color tags with xmobar

fixes #1353

10 years agoFix battery indicator on systems without POWER_SUPPLY_VOLTAGE_NOW.
Klemen Košir [Mon, 25 Aug 2014 17:03:11 +0000 (19:03 +0200)]
Fix battery indicator on systems without POWER_SUPPLY_VOLTAGE_NOW.

In my case, the voltage variable would stay initialized as -1,
which caused the calculation of battery charge percentage to be
incorrect (I would get the message that there is no battery present
or even -0% charge).

I have no idea how this would affect other systems, since I don't
have a chance to test this.

10 years agoFix Dragonfly BSD CPU temperature gauge
Robin Hahling [Mon, 4 Aug 2014 14:54:08 +0000 (16:54 +0200)]
Fix Dragonfly BSD CPU temperature gauge

This patch fixes CPU temperature gauge for DragonFly BSD.
Commit 0eeded8 assumed that fetching CPU temperature for DragonFly
BSD was similar to that of FreeBSD but this assumption is false.

10 years agoFix CFLAGS and LDFLAGS for DragonFly and FreeBSD
Robin Hahling [Thu, 31 Jul 2014 21:51:30 +0000 (23:51 +0200)]
Fix CFLAGS and LDFLAGS for DragonFly and FreeBSD

10 years agoClarify color_separator relation to output_format
Bas Pape [Sat, 7 Jun 2014 13:48:11 +0000 (15:48 +0200)]
Clarify color_separator relation to output_format

10 years agoUse the absolute values for (dis)charging rates
Michael Stapelberg [Sat, 31 May 2014 12:01:18 +0000 (14:01 +0200)]
Use the absolute values for (dis)charging rates

Apparently some notebooks report a negative current, whereas most don’t.

fixes #1249

10 years agorun_watch: check all matching pid files (until first valid one) (Thanks brotbart)
Michael Stapelberg [Thu, 15 May 2014 19:51:01 +0000 (21:51 +0200)]
run_watch: check all matching pid files (until first valid one) (Thanks brotbart)

fixes #1245

10 years agoFix NetBSD CPU temp gauge bug
Alexander Vasarab [Tue, 29 Apr 2014 22:30:11 +0000 (15:30 -0700)]
Fix NetBSD CPU temp gauge bug

This patch fixes a bug in which multiple (conflicting) CPU temps may be
included in the output for the "cpu temperature" module.

The bug is due to the way that the code parsed the envsys(4)-returned data,
and would manifest itself on x86-based NetBSD machines, since those use
cputemp(4) as well as acpitz(4), thereby creating multiple envsys(4) entries
with identical descriptions but which refer to different physical sensors.

Instead of matching the description attribute of each device returned by
envsys(4) against the target format, this patch throws away non-matching keys
in the first instruction inside the dict walk. This has the benefit of sparing
unnecessary CPU cycles, and preventing other sensors from being included
erroneously.

Additionally, the THERMAL_ZONE format is now joined with OpenBSD in that it
uses acpitz(4) explicitly. This is prefered since it is much older (dating
back to NetBSD 2.0), and does not exclude x86-based users (as with cputemp(4)).

10 years agoImplement battery functionality for NetBSD users
Alexander Vasarab [Mon, 28 Apr 2014 19:16:48 +0000 (12:16 -0700)]
Implement battery functionality for NetBSD users

This patch takes a similar approach as the NetBSD CPU temperature
code in that it uses proplib(3) to walk dictionaries supplied by
envsys(4).

In addition to providing the basic functionality, it:

* Provides all existing format specifiers (%emptytime %consumption
  %status %percentage %remaining)
* Respects all existing config options (hide_seconds, low_threshold,
  integer_battery_capacity, last_full_capacity)
* Projects "time until full" when battery status is CS_CHARGING

10 years agoAvoid unnecessary string duplication
Marco Hunsicker [Sat, 15 Mar 2014 13:50:07 +0000 (14:50 +0100)]
Avoid unnecessary string duplication

This patch removes an unnecessary string duplication that was only
used to avoid a compiler warning.

10 years agoRemove custom color options from order array
Marco Hunsicker [Sat, 15 Mar 2014 14:10:14 +0000 (15:10 +0100)]
Remove custom color options from order array

10 years agoUnify use of string comparisons
Mats [Tue, 11 Mar 2014 19:15:36 +0000 (20:15 +0100)]
Unify use of string comparisons

* strncmp(s1, s2, strlen(s2)) → BEGINS_WITH(s1, s2)
* strncmp(s1, s2, strlen(s1)) → strcmp(s1, s2)
* Prefer case-insensitive comparison for options

10 years agoFor the %percentage display of batteries, drop the leading '0' for values < 10.
Jasper Lievisse Adriaanse [Mon, 10 Mar 2014 09:22:47 +0000 (10:22 +0100)]
For the %percentage display of batteries, drop the leading '0' for values < 10.

10 years agodisk: Colorize output when below given threshold
Mats [Fri, 7 Mar 2014 23:24:42 +0000 (00:24 +0100)]
disk: Colorize output when below given threshold

New disk module options:
* threshold_type: ^(percentage|[kmgt]?bytes)_(free|avail)$
* low_threshold: <double>

fixes #912

10 years agoSupport align and min_width module options
Marco Hunsicker [Wed, 5 Mar 2014 19:53:07 +0000 (20:53 +0100)]
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

10 years agoTypo in function name
Marco Hunsicker [Sat, 1 Mar 2014 10:05:03 +0000 (11:05 +0100)]
Typo in function name

Fixes the typo in print_seperator()

10 years agoi3status: Allow customization of module separator
Marco Hunsicker [Sat, 1 Mar 2014 08:55:29 +0000 (09:55 +0100)]
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

10 years agoi3status: Bugfix: Reading multiple temperature sensors not possible
Marco Hunsicker [Tue, 25 Feb 2014 19:43:48 +0000 (20:43 +0100)]
i3status: Bugfix: Reading multiple temperature sensors not possible

This patch inlines the creation of the thermal zone string in order
to force computation on each invocation. This is necessary to be able
to read the values of several temperature sensors.

10 years agomake release: install the README file (Thanks myou)
Michael Stapelberg [Wed, 19 Feb 2014 21:58:30 +0000 (22:58 +0100)]
make release: install the README file (Thanks myou)

10 years agoAdd hide_seconds option
Iakov Davydov [Wed, 5 Feb 2014 10:12:47 +0000 (11:12 +0100)]
Add hide_seconds option

fixes: #1134

10 years agoAdd a format_down example for battery
Wieland Hoffmann [Sun, 5 Jan 2014 22:43:02 +0000 (23:43 +0100)]
Add a format_down example for battery

10 years agoman: Add a missing colon
Wieland Hoffmann [Sun, 5 Jan 2014 22:36:18 +0000 (23:36 +0100)]
man: Add a missing colon

10 years agomanpage: update version number 2.8
Michael Stapelberg [Sun, 5 Jan 2014 11:18:07 +0000 (12:18 +0100)]
manpage: update version number

10 years agoupdate CHANGELOG
Michael Stapelberg [Sun, 5 Jan 2014 11:17:18 +0000 (12:17 +0100)]
update CHANGELOG

10 years agodisk: Distinguish between IEC, SI and custom prefixes
Mats [Thu, 5 Dec 2013 21:12:17 +0000 (22:12 +0100)]
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)

11 years agoAdd support for path_exists directive.
Kinware AB [Tue, 12 Nov 2013 19:51:23 +0000 (20:51 +0100)]
Add support for path_exists directive.

11 years agodocument format_muted in the manpage
Michael Stapelberg [Mon, 18 Nov 2013 21:32:48 +0000 (22:32 +0100)]
document format_muted in the manpage

11 years agoAdded different format string for volume in case it is muted.
Gereon Kremer [Thu, 14 Nov 2013 23:41:33 +0000 (00:41 +0100)]
Added different format string for volume in case it is muted.

If the volume is muted, the volume level would simply be displayed as zero and the color changed to color_degraded.
This patch lets the user define a custom format string for when the volume is muted.
The default value is "♪: 0%" ("♪: %volume" being the usual format).

11 years agodefault config: show %avail disk space instead of %free
Sebastian Ullrich [Mon, 11 Nov 2013 22:23:00 +0000 (23:23 +0100)]
default config: show %avail disk space instead of %free

The former property is generally more relevant to end users

11 years agoformat detection: simplify code, handle "sh" processes in the hierarchy
Michael Stapelberg [Sat, 9 Nov 2013 13:34:12 +0000 (14:34 +0100)]
format detection: simplify code, handle "sh" processes in the hierarchy

i3 starts processes using /bin/sh now, not $SHELL. This increases the
likelihood with which we are started by dash, which tends to leave its
processes in the hierarchy, e.g.:

michael       1524  i3bar --bar_id=bar-0 --socket=/run/user/1000/i3/ipc-s
michael       1525   \_ /bin/sh -c i3status
michael       1526       \_ i3status

This case is now handled correctly — when the parent is “sh”, the parent
of sh will be used instead.

11 years agofix slurp(), it needs to read size-1 for the trailing NUL
Michael Stapelberg [Sat, 9 Nov 2013 13:12:22 +0000 (14:12 +0100)]
fix slurp(), it needs to read size-1 for the trailing NUL

11 years agoprint_cpu_temperature: fix memory leak (Thanks kuba)
Michael Stapelberg [Thu, 24 Oct 2013 17:19:21 +0000 (19:19 +0200)]
print_cpu_temperature: fix memory leak (Thanks kuba)

11 years agoAdd support for cpu temperature on NetBSD (using envsys(4))
Arnaud Degroote [Sun, 6 Oct 2013 21:18:53 +0000 (21:18 +0000)]
Add support for cpu temperature on NetBSD (using envsys(4))

11 years agoAllow to print cpu usage on NetBSD
Arnaud Degroote [Sun, 6 Oct 2013 18:13:29 +0000 (18:13 +0000)]
Allow to print cpu usage on NetBSD

11 years agoAllow to print eth information on NetBSD
Arnaud Degroote [Sun, 6 Oct 2013 18:13:05 +0000 (18:13 +0000)]
Allow to print eth information on NetBSD

11 years agoFix the build on NetBSD
Arnaud Degroote [Sun, 6 Oct 2013 18:12:16 +0000 (18:12 +0000)]
Fix the build on NetBSD

11 years agoAdd example path for CPU temperature
Jan-Erik Rediger [Wed, 17 Jul 2013 21:43:45 +0000 (23:43 +0200)]
Add example path for CPU temperature

11 years agomanpage: update example for load’s max_threshold
Michael Stapelberg [Tue, 9 Jul 2013 21:25:16 +0000 (23:25 +0200)]
manpage: update example for load’s max_threshold

11 years agoallow load to be a float
M. Kory Woods [Sun, 7 Jul 2013 15:54:50 +0000 (10:54 -0500)]
allow load to be a float

11 years agoMakefile: use .SILENT and support V=1 for verbose builds
Michael Stapelberg [Tue, 18 Jun 2013 16:14:38 +0000 (18:14 +0200)]
Makefile: use .SILENT and support V=1 for verbose builds

11 years agoBugfix: In term-output, clear line before drawing new one
Axel Wagner [Tue, 11 Jun 2013 14:08:14 +0000 (16:08 +0200)]
Bugfix: In term-output, clear line before drawing new one

If we don't do this, the output of i3status will remain on the terminal,
which is really ugly if the statusline becomes shorter after a while
(for example a connection get's lost), because there will be garbage.

11 years agosignal handler: set flag because directly calling fprintf() is unsafe
Michael Stapelberg [Sun, 19 May 2013 17:58:51 +0000 (19:58 +0200)]
signal handler: set flag because directly calling fprintf() is unsafe

11 years agoImplement term-output-format
Axel Wagner [Thu, 16 May 2013 20:49:13 +0000 (22:49 +0200)]
Implement term-output-format

11 years agoprint_volume(linux): Open a new mixer every time.
oblique [Sun, 12 May 2013 17:44:27 +0000 (20:44 +0300)]
print_volume(linux): Open a new mixer every time.

This fix the following bug:
    If you switch your sound card on-the-fly, print_volume continued to
    use the old sound card.

11 years agofix #1017: i3status uses generic battery instance
Jonas Cleve [Sat, 4 May 2013 14:22:29 +0000 (16:22 +0200)]
fix #1017: i3status uses generic battery instance