summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-08-01Remove percentagebuf from print_battery_info.Tommie Gannert
2016-08-01Remove statusbuf from print_battery_info.Tommie Gannert
2016-07-30Merge pull request #139 from Gjum/wb-colored-cpu-usageMichael Stapelberg
Add CPU usage color thresholds
2016-05-13Add ifdef to compile wireless_info on Mac (#127)Alexis Hildebrandt
2016-05-08reconnect to PulseAudio if connection is lost (fixes #124) (#125)Watcom
2016-04-13Add CPU usage color thresholdsMark Schreiber
CPU usage had previously not supported the color option. Add support for a "degraded" state above which the degraded color is used, and a higher "bad" state above which the "bad" color is used. One possible use for these might be indicating whether one or all cores are saturated. Unlike the color settings for other, these are set high enough to be disabled by default. This is done because i3status determines CPU usage over only the last display interval, which means that, a user with a low refresh rate might see frequent, potentially-annoying color changes.
2016-03-21Added status_unk to battery_infoeoin
2016-03-20Adding glob check to cpu temperature fixes #55eplanet
2016-01-25This removes the 'remaining' time when the battery is full, since the ↵Clayton Craft
remaining time is always 00:00:00. When the battery is discharging, the remaining time will show up again if the user has set their format correctly.
2016-01-12revert back to using nanosleepWatcom Hecht
Fixes #93
2016-01-12Bugfix: check that format_not_mounted is not NULL before using itMichael Stapelberg
This issue was introduced with commit 75a83574. fixes #92
2015-12-27format detection: recognise swaybarDavid
2015-12-04Added support for Pango markup.Kenneth Lyons
2015-11-24fix compilation on FreeBSDMichael Stapelberg
fixes #83
2015-11-16first_eth_interface: ignore MAC addresses, look for IPv4/IPv6 addressesMichael Stapelberg
2015-10-12Correctly calculate Wireless link qualityStefan Bader
Wireless quality was stuck at 100% due to a signed with unsigned integer division.
2015-10-12Volume percentage should be obtained by float division and rounded to int.Jakub Klinkovský
Fixes #75
2015-10-09Merge pull request #71 from bsdjhb/freebsd_wifi_buildfixMichael Stapelberg
Fix build under FreeBSD after recent changes for Linux.
2015-10-08Fix build under FreeBSD after recent changes for Linux.John Baldwin
2015-10-08Properly detect the battery charging status under FreeBSD.John Baldwin
The hw.acpi.battery.state sysctl returns a bitmask of flags as defined in <dev/acpica/acpiio.h>. Use constants from this header to examine the state and check for the charging flag to determine if the battery is charging.
2015-10-04Added support for lemonbarBrendan Van Hook
2015-09-25document code originsMichael Stapelberg
fixes #65
2015-09-25Fix comparison between signed/unsigned warning for realMichael Stapelberg
2015-09-25use proper unsigned type for ESSID lengthMichael Stapelberg
2015-09-25use nlmsg_data instead of the too-new genlmsg_hdrMichael Stapelberg
2015-09-25use NL80211_RATE_INFO_BITRATE (16-bit)Michael Stapelberg
NL80211_RATE_INFO_BITRATE32 is not available widely enough yet (the libc used by travis doesn’t have it yet, for example).
2015-09-24wireless (linux): switch from libiw to libnlMichael Stapelberg
Based on http://cr.i3wm.org/patch/692/ by Alexander Monakov fixes #32 fixes #52
2015-09-16Merge pull request #59 from bsdjhb/freebsd_wifiMichael Stapelberg
Fix various issues with wireless information under FreeBSD:
2015-09-15Fix various issues with wireless information under FreeBSD:John Baldwin
- 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-15Fix some issues with displaying Ethernet media status on recent FreeBSD kernels.John Baldwin
- Don't apply IFM_SUBTYPE to the raw subtype in the description table. IFM_SUBTYPE() requires a fully populated word and was truncating values in the table when comparing resulting in false matches (notably "10GBase-KX4" for the no media case) after recent changes to add extended Ethernet media states in FreeBSD. - Explicitly check for IFM_ETHER. - Use SIOCGIFXMEDIA when present to obtain extended media states on newer kernels. - Explicitly handle "no carrier".
2015-08-06Use "color_degraded" when interface has no IPDmitrij D. Czarkoff
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-01Use SndIO for volume module on OpenBSDDmitrij D. Czarkoff
* add audio(4) code by Robert Nagy * disable PulseAudio While at OpenBSD support, add "-pthread" to LIBS.
2015-07-06Add ifdef to compile print_disk_info on MacAlexis Hildebrandt
2015-07-06Fix undeclared identifier thermal_zone errorAlexis Hildebrandt
when THERMAL_ZONE is not defined.
2015-06-12add apostrophe to error message to fix grammarViktor Stanchev
2015-05-29Use format_not_mounted if the directory for a disk_info block does not exist.Ingo Bürk
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-20Clamp the percentage at 100% when last_full_capacity is enabled.Michael Stapelberg
2015-05-05Changed battery info output to HH:MM for consistency accross all platformsNicholas Helke
2015-04-19PulseAudio muted volume support (fixes #27)Watcom Hecht
2015-04-04Use the maximum rssi, not the scaled percentage for the signal level.Jasper Lievisse Adriaanse
This makes the value for %signal match ifconfig(8) in all cases.
2015-04-03Merge pull request #7 from Watcom/masterMichael Stapelberg
PulseAudio support for volume input
2015-04-03PulseAudio support for volume inputWatcom Hecht
2015-04-02Merge pull request #17 from chrko/format_downMichael Stapelberg
Adding format_down option to path_exists and run_watch
2015-04-02Adding the option "format_down" to path_exists and run_watch.Christian Kohlstedde
This fixes #1.
2015-04-02sys/dkstat.h has been removed from OpenBSD and it's functionality actually ↵Jasper Lievisse Adriaanse
lived/lives in sys/sched.h
2015-03-29refactoring to avoid code duplicationWatcom Hecht
2015-03-25print_cpu_usage: Fix warnings on non linuxBaptiste Daroussin
Move linux variable under LINUX boundaries
2015-03-25print_eth_info: fix warnings on FreeBSDBaptiste Daroussin
2015-03-25print_volume: don’t return, complete the buffer firstBaptiste Daroussin
Follow the changed done for Linux on f0cd726b
2015-03-25Fix build on FreeBSDBaptiste Daroussin