<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slstatus/components/disk.c, branch master</title>
<subtitle>Status monitor for window managers that use WM_NAME or stdin to fill the status bar</subtitle>
<id>https://git.ikboikov.net/slstatus/atom?h=master</id>
<link rel='self' href='https://git.ikboikov.net/slstatus/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/'/>
<updated>2022-12-19T01:44:21Z</updated>
<entry>
<title>disk: Cast fsblkcnt_t to double instead of float</title>
<updated>2022-12-19T01:44:21Z</updated>
<author>
<name>planet36</name>
<email>planet36@users.noreply.github.com</email>
</author>
<published>2021-03-05T19:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=89f8476110c7bdfb70528da79be328ba0f6490be'/>
<id>urn:sha1:89f8476110c7bdfb70528da79be328ba0f6490be</id>
<content type='text'>
Signed-off-by: drkhsh &lt;me@drkhsh.at&gt;
</content>
</entry>
<entry>
<title>radical re-formatting 0/3: Alphabetic headers</title>
<updated>2022-10-27T23:03:20Z</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2022-10-27T21:18:30Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=0696635bcbad06770cce7d5a4c9e8e4d76868307'/>
<id>urn:sha1:0696635bcbad06770cce7d5a4c9e8e4d76868307</id>
<content type='text'>
Except stated otherwise in comment.

Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
</content>
</entry>
<entry>
<title>components/*.c: include slstatus.h</title>
<updated>2022-10-26T21:32:07Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-10-26T20:14:53Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=28ef0b242c32e8ae8b4df2b4b380e30bf581130f'/>
<id>urn:sha1:28ef0b242c32e8ae8b4df2b4b380e30bf581130f</id>
<content type='text'>
this gives the compiler a chance to check weather the prototype and
definiton matches or not, which would catch issues like 3c47701.
</content>
</entry>
<entry>
<title>Consistent paramter naming for components</title>
<updated>2018-07-06T06:08:48Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-07-06T06:08:48Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=51ff7ce2b99147a1a77ed243093865fc884e571a'/>
<id>urn:sha1:51ff7ce2b99147a1a77ed243093865fc884e571a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up header includes</title>
<updated>2018-05-30T17:35:37Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-30T17:35:37Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=b0401b13bb78bacde9d10b00766830cbeb2c90f6'/>
<id>urn:sha1:b0401b13bb78bacde9d10b00766830cbeb2c90f6</id>
<content type='text'>
 - Remove &lt;errno.h&gt; because related functions are in util.c now
 - Remove corresponding &lt;string.h&gt; if not used otherwise
</content>
</entry>
<entry>
<title>Merge fmt_human_2 and fmt_human_10 to one function</title>
<updated>2018-05-21T12:44:21Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-21T12:44:21Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=10dbc9543edd5b5a7929dd8fa87ed33dd545375c'/>
<id>urn:sha1:10dbc9543edd5b5a7929dd8fa87ed33dd545375c</id>
<content type='text'>
Now only one function, fmt_human, takes an additional argument "base".
</content>
</entry>
<entry>
<title>Remove units from numbers</title>
<updated>2018-05-20T22:16:54Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-20T22:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=ec5c35ec9f23254f09e734d0c1880559774dfa52'/>
<id>urn:sha1:ec5c35ec9f23254f09e734d0c1880559774dfa52</id>
<content type='text'>
This is a first step to decouple formatting from information because of
two reasons:

 1. The components should only gather and return the values by design
 2. Fine grained user control should be a focus

Scaling will be implemented in a different way in a later commit.
</content>
</entry>
<entry>
<title>Implement fmt_human_2() and fmt_human_10()</title>
<updated>2018-05-19T20:58:21Z</updated>
<author>
<name>Laslo Hunhold</name>
<email>dev@frign.de</email>
</author>
<published>2018-05-19T20:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=46c4540dd2f6181e77b0800a4e007d78d0162487'/>
<id>urn:sha1:46c4540dd2f6181e77b0800a4e007d78d0162487</id>
<content type='text'>
These functions take the raw number and a unit and automatically
print it out "scaled down" to a proper SI-prefix, for powers of 2
and 10 respectively.

Apply them to the 2-power cases and keep the 10-power for a later
commit.
</content>
</entry>
<entry>
<title>Add the percent sign to *_perc functions</title>
<updated>2018-05-19T18:33:06Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-19T18:33:06Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=74c4f4ebdae8a12fc95840954dde574692234b01'/>
<id>urn:sha1:74c4f4ebdae8a12fc95840954dde574692234b01</id>
<content type='text'>
Units should be added to the corresponding numbers
</content>
</entry>
<entry>
<title>Implement fmt_scaled for disk_* functions</title>
<updated>2018-05-18T21:14:55Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-18T21:14:55Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=b3e56066ed5349c6fd0afe1ac7cf5035e16a8a2f'/>
<id>urn:sha1:b3e56066ed5349c6fd0afe1ac7cf5035e16a8a2f</id>
<content type='text'>
</content>
</entry>
</feed>
