John Baldwin
85618dc8e8
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.
2015-09-15 13:39:01 -07:00
Michael Stapelberg
452399d84a
Merge pull request #51 from czarkoff/mail-python
...
Basic mail checker in python
2015-08-10 19:48:15 +02:00
Dmitrij D. Czarkoff
6714fd9c1c
Basic mail checker in python
2015-08-07 22:47:34 +02:00
Michael Stapelberg
6d634b1b67
Merge pull request #50 from czarkoff/no_ip
...
Use "color_degraded" when interface has no IP
2015-08-06 18:18:19 +02:00
Dmitrij D. Czarkoff
9b238a8d65
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.
2015-08-06 17:20:29 +02:00
Michael Stapelberg
57c3fb3629
Merge pull request #47 from czarkoff/sndio
...
Use SndIO for volume module on OpenBSD
2015-08-02 09:13:11 -07:00
Dmitrij D. Czarkoff
15f2279592
Use SndIO for volume module on OpenBSD
...
* add audio(4) code by Robert Nagy
* disable PulseAudio
While at OpenBSD support, add "-pthread" to LIBS.
2015-08-01 17:35:09 +02:00
Michael Stapelberg
55a23712ad
Merge pull request #40 from afh/pull/osx
...
Mac OS X compatibility changes
2015-07-07 23:12:13 -07:00
Alexis Hildebrandt
80e7b83d54
Add ifdef to compile print_disk_info on Mac
2015-07-06 15:48:39 +02:00
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