aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-03-20Adding glob check to cpu temperature fixes #55eplanet1-2/+14
2016-01-25This removes the 'remaining' time when the battery is full, since the ↵Clayton Craft1-1/+1
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 Hecht1-3/+2
Fixes #93
2016-01-12Bugfix: check that format_not_mounted is not NULL before using itMichael Stapelberg1-1/+3
This issue was introduced with commit 75a83574. fixes #92
2015-12-27format detection: recognise swaybarDavid1-1/+1
2015-12-04Added support for Pango markup.Kenneth Lyons3-4/+66
2015-11-24fix compilation on FreeBSDMichael Stapelberg1-0/+1
fixes #83
2015-11-16first_eth_interface: ignore MAC addresses, look for IPv4/IPv6 addressesMichael Stapelberg1-0/+7
2015-10-12Correctly calculate Wireless link qualityStefan Bader1-1/+1
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ý1-1/+2
Fixes #75
2015-10-09Merge pull request #71 from bsdjhb/freebsd_wifi_buildfixMichael Stapelberg1-0/+4
Fix build under FreeBSD after recent changes for Linux.
2015-10-08Fix build under FreeBSD after recent changes for Linux.John Baldwin1-0/+4
2015-10-08Properly detect the battery charging status under FreeBSD.John Baldwin1-2/+3
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 Hook6-20/+25
2015-09-25document code originsMichael Stapelberg1-2/+3
fixes #65
2015-09-25Fix comparison between signed/unsigned warning for realMichael Stapelberg1-1/+1
2015-09-25use proper unsigned type for ESSID lengthMichael Stapelberg1-1/+1
2015-09-25use nlmsg_data instead of the too-new genlmsg_hdrMichael Stapelberg1-1/+1
2015-09-25use NL80211_RATE_INFO_BITRATE (16-bit)Michael Stapelberg1-4/+4
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 Stapelberg1-108/+219
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 Stapelberg1-19/+30
Fix various issues with wireless information under FreeBSD:
2015-09-15Fix various issues with wireless information under FreeBSD:John Baldwin1-19/+30
- 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 Baldwin1-7/+13
- 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. Czarkoff2-2/+5
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. Czarkoff1-1/+69
* 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 Hildebrandt1-3/+3
2015-07-06Fix undeclared identifier thermal_zone errorAlexis Hildebrandt1-1/+1
when THERMAL_ZONE is not defined.
2015-06-12add apostrophe to error message to fix grammarViktor Stanchev1-1/+1
2015-05-29Use format_not_mounted if the directory for a disk_info block does not exist.Ingo Bürk1-4/+5
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 Stapelberg1-0/+8
2015-05-05Changed battery info output to HH:MM for consistency accross all platformsNicholas Helke1-2/+2
2015-04-19PulseAudio muted volume support (fixes #27)Watcom Hecht2-7/+24
2015-04-04Use the maximum rssi, not the scaled percentage for the signal level.Jasper Lievisse Adriaanse1-3/+2
This makes the value for %signal match ifconfig(8) in all cases.
2015-04-03Merge pull request #7 from Watcom/masterMichael Stapelberg2-1/+273
PulseAudio support for volume input
2015-04-03PulseAudio support for volume inputWatcom Hecht2-1/+273
2015-04-02Merge pull request #17 from chrko/format_downMichael Stapelberg2-4/+16
Adding format_down option to path_exists and run_watch
2015-04-02Adding the option "format_down" to path_exists and run_watch.Christian Kohlstedde2-4/+16
This fixes #1.
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-03-29refactoring to avoid code duplicationWatcom Hecht1-30/+23
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-23Pass the "instance" JSON property key for tztime blocksIngo Bürk1-1/+4
fixes #10
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg18-2004/+1982
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-02-22removing Yoda-StyleChristian Kohlstedde1-1/+1
adding some words in the manpage
2015-02-18Adding optional configuration option to "print_disk_info".Christian Kohlstedde1-14/+14
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