<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slstatus/components/disk.c, branch master</title>
<subtitle>A custom configuration of the suckless status utility</subtitle>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/'/>
<entry>
<title>disk: Cast fsblkcnt_t to double instead of float</title>
<updated>2022-12-19T01:44:21+00:00</updated>
<author>
<name>planet36</name>
<email>planet36@users.noreply.github.com</email>
</author>
<published>2021-03-05T19:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=89f8476110c7bdfb70528da79be328ba0f6490be'/>
<id>89f8476110c7bdfb70528da79be328ba0f6490be</id>
<content type='text'>
Signed-off-by: drkhsh &lt;me@drkhsh.at&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: drkhsh &lt;me@drkhsh.at&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>radical re-formatting 0/3: Alphabetic headers</title>
<updated>2022-10-27T23:03:20+00:00</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2022-10-27T21:18:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=0696635bcbad06770cce7d5a4c9e8e4d76868307'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Except stated otherwise in comment.

Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
</pre>
</div>
</content>
</entry>
<entry>
<title>components/*.c: include slstatus.h</title>
<updated>2022-10-26T21:32:07+00:00</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-10-26T20:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=28ef0b242c32e8ae8b4df2b4b380e30bf581130f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this gives the compiler a chance to check weather the prototype and
definiton matches or not, which would catch issues like 3c47701.
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistent paramter naming for components</title>
<updated>2018-07-06T06:08:48+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-07-06T06:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=51ff7ce2b99147a1a77ed243093865fc884e571a'/>
<id>51ff7ce2b99147a1a77ed243093865fc884e571a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up header includes</title>
<updated>2018-05-30T17:35:37+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-30T17:35:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=b0401b13bb78bacde9d10b00766830cbeb2c90f6'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Remove &lt;errno.h&gt; because related functions are in util.c now
 - Remove corresponding &lt;string.h&gt; if not used otherwise
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge fmt_human_2 and fmt_human_10 to one function</title>
<updated>2018-05-21T12:44:21+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-21T12:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=10dbc9543edd5b5a7929dd8fa87ed33dd545375c'/>
<id>10dbc9543edd5b5a7929dd8fa87ed33dd545375c</id>
<content type='text'>
Now only one function, fmt_human, takes an additional argument "base".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now only one function, fmt_human, takes an additional argument "base".
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove units from numbers</title>
<updated>2018-05-20T22:16:54+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-20T22:16:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=ec5c35ec9f23254f09e734d0c1880559774dfa52'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement fmt_human_2() and fmt_human_10()</title>
<updated>2018-05-19T20:58:21+00:00</updated>
<author>
<name>Laslo Hunhold</name>
<email>dev@frign.de</email>
</author>
<published>2018-05-19T20:52:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=46c4540dd2f6181e77b0800a4e007d78d0162487'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the percent sign to *_perc functions</title>
<updated>2018-05-19T18:33:06+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-19T18:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=74c4f4ebdae8a12fc95840954dde574692234b01'/>
<id>74c4f4ebdae8a12fc95840954dde574692234b01</id>
<content type='text'>
Units should be added to the corresponding numbers
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Units should be added to the corresponding numbers
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement fmt_scaled for disk_* functions</title>
<updated>2018-05-18T21:14:55+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-18T21:14:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=b3e56066ed5349c6fd0afe1ac7cf5035e16a8a2f'/>
<id>b3e56066ed5349c6fd0afe1ac7cf5035e16a8a2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
