Commit Graph

472 Commits

Author SHA1 Message Date
Alexis Hildebrandt
2113737107 Use gettimeofday instead of clock_gettime on Mac
since the latter is not available.
2015-07-06 15:48:33 +02:00
Alexis Hildebrandt
d1cec2632d Fix undeclared identifier thermal_zone error
when THERMAL_ZONE is not defined.
2015-07-06 15:47:44 +02:00
Alexis Hildebrandt
fcabfc889a Add A2X_FLAGS
to be able to optionally skip xmllint, which errors on Mac OS X.
2015-07-06 15:47:38 +02:00
Alexis Hildebrandt
0006ec53ef Whitespace edit 2015-07-06 15:47:29 +02:00
Michael Stapelberg
326f26c513 Merge pull request #39 from vikstrous/master
add apostrophe to error message to fix grammar
2015-06-13 12:40:39 +02:00
Viktor Stanchev
a2b8529043 add apostrophe to error message to fix grammar 2015-06-12 23:08:46 -04:00
Michael Stapelberg
adaa83222c Merge pull request #35 from Airblader/feature-33
Use format_not_mounted if path does not exist
2015-05-29 09:52:46 +02:00
Ingo Bürk
75a835742e 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
2015-05-29 08:43:29 +02:00
Michael Stapelberg
d1aa135d28 Clamp the percentage at 100% when last_full_capacity is enabled. 2015-05-20 19:17:23 +02:00
Michael Stapelberg
f8c11c31b2 Merge pull request #26 from nhelke/master
Changed battery info output to HH:MM for consistency accross all platforms
2015-05-05 11:19:42 -07:00
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