aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-04-03Merge pull request #7 from Watcom/masterMichael Stapelberg8-17/+328
PulseAudio support for volume input
2015-04-03PulseAudio support for volume inputWatcom Hecht8-17/+328
2015-04-02Merge pull request #17 from chrko/format_downMichael Stapelberg5-9/+27
Adding format_down option to path_exists and run_watch
2015-04-02Adding the option "format_down" to path_exists and run_watch.Christian Kohlstedde5-9/+27
This fixes #1.
2015-04-02Merge pull request #16 from He-Ro/patch-1Michael Stapelberg1-0/+1
Fix spacing
2015-04-02Merge pull request #18 from jasperla/sched_hMichael Stapelberg1-0/+4
sys/dkstat.h has been removed from OpenBSD and it's functionality actual...
2015-04-02sys/dkstat.h has been removed from OpenBSD and it's functionality actually ↵Jasper Lievisse Adriaanse1-0/+4
lived/lives in sys/sched.h
2015-04-02Fix spacingHendrik R1-0/+1
2015-04-02fix invalid forward declarationMichael Stapelberg1-1/+1
2015-03-29Merge pull request #15 from Watcom/refactorMichael Stapelberg1-30/+23
refactoring to avoid code duplication
2015-03-29refactoring to avoid code duplicationWatcom Hecht1-30/+23
2015-03-25Merge pull request #13 from bapt/masterMichael Stapelberg4-10/+20
Fixes for FreeBSD
2015-03-25print_cpu_usage: Fix warnings on non linuxBaptiste Daroussin1-1/+1
Move linux variable under LINUX boundaries
2015-03-25print_eth_info: fix warnings on FreeBSDBaptiste Daroussin1-2/+4
2015-03-25print_volume: don’t return, complete the buffer firstBaptiste Daroussin1-6/+13
Follow the changed done for Linux on f0cd726b
2015-03-25Fix build on FreeBSDBaptiste Daroussin1-1/+2
2015-03-23Merge pull request #12 from Airblader/feature-tztime-instanceMichael Stapelberg3-4/+7
Pass the "instance" JSON property key for tztime blocks
2015-03-23Pass the "instance" JSON property key for tztime blocksIngo Bürk3-4/+7
fixes #10
2015-03-23Merge pull request #11 from AloisMahdal/man_bat_typoMichael Stapelberg1-1/+1
Fix typo in battery example
2015-03-23Fix typo in battery exampleAlois Mahdal1-1/+1
2015-03-22release v2.9Michael Stapelberg3-2/+26
2015-03-16Merge pull request #8 from azuwis/masterMichael Stapelberg1-0/+105
Add contrib/net-speed, a reimplementation of contrib/measure-net-speed.bash
2015-03-16add .travis.ymlMichael Stapelberg1-0/+17
2015-03-16add CONTRIBUTING fileMichael Stapelberg1-0/+1
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg22-3027/+3030
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-16Add contrib/net-speedZhong Jianxin1-0/+105
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-01Merge pull request #3 from chrko/masterMichael Stapelberg4-3/+29
Modify print_disk_info. Now there is no output if the path is no mountpoint.
2015-02-22removing Yoda-StyleChristian Kohlstedde2-1/+6
adding some words in the manpage
2015-02-18Adding optional configuration option to "print_disk_info".Christian Kohlstedde3-16/+17
2015-02-18Excluding the code on BSD systems.Christian Kohlstedde1-1/+1
2015-02-18Make the code more readable.Christian Kohlstedde1-3/+3
2015-02-18Modify print_disk_info. Now there is no output if the path is no mountpoint.Christian Kohlstedde1-0/+20
2015-02-08Merge pull request #2 from pfsmorigo/masterMichael Stapelberg1-0/+2
Add i3status and man/i3status.1 to ignore list.
2015-02-07Add i3status and man/i3status.1 to ignore list.Paulo Flabiano Smorigo1-0/+2
2014-12-26make github the canonical i3status repositoryMichael Stapelberg1-7/+1
2014-12-22Avoid use of uninitialized variable in print_battery_infoAlexander Monakov1-1/+1
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-10Allocate and expose per-instance pointers for pluginsAlexander Monakov2-0/+7
2014-12-07support the special interface name _first_ for ethernet/wirelessMichael Stapelberg5-6/+68
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).
2014-12-03i3status: Support %frequency for wireless interfacesTuomas Tynkkynen2-4/+19
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"
2014-10-07Updated the man page for i3status with information about the new individual ↵Cyril Andreatta1-0/+16
strings that can be used for each battery status.
2014-10-07Created three individual Strings for each battery status (charging, ↵Cyril Andreatta3-6/+10
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.
2014-08-26Bugfix: fix wrong color tags with xmobarMichael Stapelberg1-2/+1
fixes #1353
2014-08-25Fix battery indicator on systems without POWER_SUPPLY_VOLTAGE_NOW.Klemen Košir1-2/+5
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.
2014-08-08Fix Dragonfly BSD CPU temperature gaugeRobin Hahling1-2/+29
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.
2014-08-01Fix CFLAGS and LDFLAGS for DragonFly and FreeBSDRobin Hahling1-6/+7
2014-06-08Clarify color_separator relation to output_formatBas Pape1-1/+2
2014-05-31Use the absolute values for (dis)charging ratesMichael Stapelberg1-3/+3
Apparently some notebooks report a negative current, whereas most don’t. fixes #1249
2014-05-15run_watch: check all matching pid files (until first valid one) (Thanks ↵Michael Stapelberg1-4/+20
brotbart) fixes #1245
2014-04-30Fix NetBSD CPU temp gauge bugAlexander Vasarab2-22/+22
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)).
2014-04-30Implement battery functionality for NetBSD usersAlexander Vasarab1-0/+266
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