Commit Graph

662 Commits

Author SHA1 Message Date
Nicholas Helke
d7f0d64c40 Changed battery info output to HH:MM for consistency accross all platforms 2015-05-05 10:51:57 +01:00
Michael Stapelberg
96e36117e3 Merge pull request #30 from Deiz/update-notices
Update copyright notices and get rid of ranges
2015-04-21 22:52:08 +02:00
Deiz
36a3be24aa 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
2015-04-21 11:48:29 -04:00
Michael Stapelberg
405c552a2f travis: re-add libpulse-dev 2015-04-20 08:43:08 +02:00
Michael Stapelberg
80ac63df39 travis: switch to container-based build infrastructure 2015-04-20 08:36:34 +02:00
Michael Stapelberg
a1d5068918 Merge pull request #28 from Watcom/mute
PulseAudio muted volume support
2015-04-19 09:40:09 -07:00
Watcom Hecht
f779da1a59 PulseAudio muted volume support (fixes #27) 2015-04-19 13:28:26 -03:00
Michael Stapelberg
dedea6266b Merge pull request #23 from Deiz/net-speed
Basic XDG support and minor tweaks to the net-speed script
2015-04-12 09:12:22 -07:00
Michael Stapelberg
ab89f73656 Merge pull request #24 from tanderson92/master
Add support for differing PREFIX and MANPREFIX.
2015-04-08 00:53:40 -07:00
Thomas Anderson
12709cc751 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.
2015-04-07 17:28:07 -07:00
Deiz
5e8303ef17 Basic XDG support and minor tweaks to the net-speed script 2015-04-04 13:12:30 -04:00
Michael Stapelberg
3545e03301 Merge pull request #22 from jasperla/obsd_signal
Use the maximum rssi, not the scaled percentage for the signal level.
2015-04-04 09:03:45 -07:00
Jasper Lievisse Adriaanse
e91891729e Use the maximum rssi, not the scaled percentage for the signal level.
This makes the value for %signal match ifconfig(8) in all cases.
2015-04-04 10:56:58 +02:00
Michael Stapelberg
9abe0a9d59 Merge pull request #7 from Watcom/master
PulseAudio support for volume input
2015-04-03 14:45:40 -07:00
Watcom Hecht
1710c206cf PulseAudio support for volume input 2015-04-03 17:57:40 -03:00
Michael Stapelberg
d00a0e087c Merge pull request #17 from chrko/format_down
Adding format_down option to path_exists and run_watch
2015-04-02 13:42:47 -07:00
Christian Kohlstedde
5c094a5493 Adding the option "format_down" to path_exists and run_watch.
This fixes #1.
2015-04-02 22:31:06 +02:00
Michael Stapelberg
f3ccd8ac7d Merge pull request #16 from He-Ro/patch-1
Fix spacing
2015-04-02 13:14:36 -07:00
Michael Stapelberg
e58cf99d85 Merge pull request #18 from jasperla/sched_h
sys/dkstat.h has been removed from OpenBSD and it's functionality actual...
2015-04-02 13:13:34 -07:00
Jasper Lievisse Adriaanse
ae50bbe257 sys/dkstat.h has been removed from OpenBSD and it's functionality actually lived/lives in sys/sched.h 2015-04-02 20:31:17 +02:00
Hendrik R
e192090f4c Fix spacing 2015-04-02 11:56:47 +02:00
Michael Stapelberg
018702e01e fix invalid forward declaration 2015-04-02 09:06:07 +02:00
Michael Stapelberg
40d29483c0 Merge pull request #15 from Watcom/refactor
refactoring to avoid code duplication
2015-03-29 22:56:50 +02:00
Watcom Hecht
b12e11237b refactoring to avoid code duplication 2015-03-29 17:05:26 -03:00
Michael Stapelberg
be583ea739 Merge pull request #13 from bapt/master
Fixes for FreeBSD
2015-03-25 08:56:00 +01:00
Baptiste Daroussin
c9dc67e054 print_cpu_usage: Fix warnings on non linux
Move linux variable under LINUX boundaries
2015-03-25 08:19:13 +01:00
Baptiste Daroussin
0b882f36b5 print_eth_info: fix warnings on FreeBSD 2015-03-25 08:18:23 +01:00
Baptiste Daroussin
eaf5d6bf80 print_volume: don’t return, complete the buffer first
Follow the changed done for Linux on f0cd726b
2015-03-25 08:13:47 +01:00
Baptiste Daroussin
e9fc4c1c06 Fix build on FreeBSD 2015-03-25 08:03:23 +01:00
Michael Stapelberg
bf223d9b61 Merge pull request #12 from Airblader/feature-tztime-instance
Pass the "instance" JSON property key for tztime blocks
2015-03-23 22:12:21 +01:00
Ingo Bürk
0a84bcb74a Pass the "instance" JSON property key for tztime blocks
fixes #10
2015-03-23 21:42:52 +01:00
Michael Stapelberg
3f9d4c6d89 Merge pull request #11 from AloisMahdal/man_bat_typo
Fix typo in battery example
2015-03-23 19:24:27 +01:00
Alois Mahdal
68623ee0a4 Fix typo in battery example 2015-03-23 19:12:44 +01:00
Michael Stapelberg
523f7b269b release v2.9 2015-03-22 17:58:40 +01:00
Michael Stapelberg
5cdbb3045b Merge pull request #8 from azuwis/master
Add contrib/net-speed, a reimplementation of contrib/measure-net-speed.bash
2015-03-16 22:47:51 +01:00
Michael Stapelberg
eb13374063 add .travis.yml 2015-03-16 19:35:22 +01:00
Michael Stapelberg
320a0522a3 add CONTRIBUTING file 2015-03-16 10:02:22 +01:00
Michael Stapelberg
d74e904bf4 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.
2015-03-16 10:01:07 +01:00
Zhong Jianxin
519d7f6d63 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
2015-03-16 11:31:33 +08:00
Michael Stapelberg
6996f0a4a3 Merge pull request #3 from chrko/master
Modify print_disk_info. Now there is no output if the path is no mountpoint.
2015-03-01 07:42:59 -08:00
Christian Kohlstedde
562a879f7c removing Yoda-Style
adding some words in the manpage
2015-02-22 18:25:12 +01:00
Christian Kohlstedde
85bb373095 Adding optional configuration option to "print_disk_info". 2015-02-18 23:43:25 +01:00
Christian Kohlstedde
f7b25a15dd Excluding the code on BSD systems. 2015-02-18 22:11:57 +01:00
Christian Kohlstedde
014e66563f Make the code more readable. 2015-02-18 22:11:16 +01:00
Christian Kohlstedde
e70ea4247f Modify print_disk_info. Now there is no output if the path is no mountpoint. 2015-02-18 16:53:24 +01:00
Michael Stapelberg
df8d69a995 Merge pull request #2 from pfsmorigo/master
Add i3status and man/i3status.1 to ignore list.
2015-02-08 13:04:34 +00:00
Paulo Flabiano Smorigo
1513b230a0 Add i3status and man/i3status.1 to ignore list. 2015-02-07 22:17:59 -02:00
Michael Stapelberg
938e25e4ba make github the canonical i3status repository 2014-12-26 21:13:52 +01:00
Alexander Monakov
05273b03fd 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.
2014-12-22 09:19:40 +01:00
Alexander Monakov
3818dabceb Allocate and expose per-instance pointers for plugins 2014-12-10 19:58:54 +01:00