summaryrefslogtreecommitdiff
path: root/src/print_disk_info.c
AgeCommit message (Expand)Author
2018-11-08Read /proc/mounts if /etc/mtab can't be readeplanet
2018-07-13able to print percentageFelix Buehler
2018-06-20Fix use of undefined macro __OpenBSD__Olivier Gayot
2017-03-10disk: don't remove trailing slash if path is a single characterKenneth Lyons
2017-03-08disk: sanitize trailing slashesMichael Stapelberg
2016-11-15Add 'format_below_threshold' option for 'disk' moduleMihai Coman
2016-08-16Print empty string for not mounted disks. (#148)eplanet
2016-08-14Make print_disk_info, print_eth_info and print_wireless_info compile on NetBS...Tommie Gannert
2016-01-12Bugfix: check that format_not_mounted is not NULL before using itMichael Stapelberg
2015-10-04Added support for lemonbarBrendan Van Hook
2015-07-06Add ifdef to compile print_disk_info on MacAlexis Hildebrandt
2015-05-29Use format_not_mounted if the directory for a disk_info block does not exist.Ingo Bürk
2015-03-25Fix build on FreeBSDBaptiste Daroussin
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg
2015-02-22removing Yoda-StyleChristian Kohlstedde
2015-02-18Adding optional configuration option to "print_disk_info".Christian Kohlstedde
2015-02-18Excluding the code on BSD systems.Christian Kohlstedde
2015-02-18Make the code more readable.Christian Kohlstedde
2015-02-18Modify print_disk_info. Now there is no output if the path is no mountpoint.Christian Kohlstedde
2014-03-12Unify use of string comparisonsMats
2014-03-09disk: Colorize output when below given thresholdMats
2013-12-10disk: Distinguish between IEC, SI and custom prefixesMats
2012-11-15DragonFlyBSD support addedScott Tincman
2012-08-31introduce percentages for all values, document themMichael Stapelberg
2012-08-31adding percentage format string for disk info modulegereon
2012-04-29Fix disk usage on OpenBSD.Jasper Lievisse Adriaanse
2012-04-08add yajl compat codeMichael Stapelberg
2012-03-25Properly output JSON with libyajlMichael Stapelberg
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg
2011-12-09FreeBSD: fix disk usage printBaptiste Daroussin
2010-06-25disk_info: implement %availMirko Augsburger
2010-01-10disk: also round when printing TB (Thanks Merovius)Michael Stapelberg
2009-10-16Bugfix: Cast the integers to uint64_t *before* multiplying (Thanks msi)Michael Stapelberg
2009-10-12Cleanup disk "module"Michael Stapelberg
2009-10-11Implement disk info (%free/%used/%total)Michael Stapelberg