aboutsummaryrefslogtreecommitdiff
path: root/src/print_disk_info.c
AgeCommit message (Expand)AuthorFilesLines
2017-03-10disk: don't remove trailing slash if path is a single characterKenneth Lyons1-1/+1
2017-03-08disk: sanitize trailing slashesMichael Stapelberg1-1/+5
2016-11-15Add 'format_below_threshold' option for 'disk' moduleMihai Coman1-15/+18
2016-08-16Print empty string for not mounted disks. (#148)eplanet1-4/+6
2016-08-14Make print_disk_info, print_eth_info and print_wireless_info compile on NetBS...Tommie Gannert1-0/+6
2016-01-12Bugfix: check that format_not_mounted is not NULL before using itMichael Stapelberg1-1/+3
2015-10-04Added support for lemonbarBrendan Van Hook1-4/+4
2015-07-06Add ifdef to compile print_disk_info on MacAlexis Hildebrandt1-3/+3
2015-05-29Use format_not_mounted if the directory for a disk_info block does not exist.Ingo Bürk1-4/+5
2015-03-25Fix build on FreeBSDBaptiste Daroussin1-1/+2
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg1-135/+135
2015-02-22removing Yoda-StyleChristian Kohlstedde1-1/+1
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
2014-03-12Unify use of string comparisonsMats1-2/+2
2014-03-09disk: Colorize output when below given thresholdMats1-1/+59
2013-12-10disk: Distinguish between IEC, SI and custom prefixesMats1-20/+34
2012-11-15DragonFlyBSD support addedScott Tincman1-2/+2
2012-08-31introduce percentages for all values, document themMichael Stapelberg1-4/+19
2012-08-31adding percentage format string for disk info modulegereon1-0/+5
2012-04-29Fix disk usage on OpenBSD.Jasper Lievisse Adriaanse1-2/+2
2012-04-08add yajl compat codeMichael Stapelberg1-0/+1
2012-03-25Properly output JSON with libyajlMichael Stapelberg1-17/+17
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg1-0/+6
2011-12-09FreeBSD: fix disk usage printBaptiste Daroussin1-0/+13
2010-06-25disk_info: implement %availMirko Augsburger1-0/+5
2010-01-10disk: also round when printing TB (Thanks Merovius)Michael Stapelberg1-1/+1
2009-10-16Bugfix: Cast the integers to uint64_t *before* multiplying (Thanks msi)Michael Stapelberg1-3/+3
2009-10-12Cleanup disk "module"Michael Stapelberg1-6/+7
2009-10-11Implement disk info (%free/%used/%total)Michael Stapelberg1-0/+67