<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slstatus/slstatus.h, branch csobczak</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>add 'up' for whether a interface is up or down</title>
<updated>2025-04-30T01:09:55+00:00</updated>
<author>
<name>sewn</name>
<email>sewn@disroot.org</email>
</author>
<published>2024-03-15T21:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=af508f0b4cf88b1921c59fdf5dd1a98c08223fa5'/>
<id>af508f0b4cf88b1921c59fdf5dd1a98c08223fa5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sort functions by name</title>
<updated>2022-12-19T01:44:21+00:00</updated>
<author>
<name>planet36</name>
<email>planet36@users.noreply.github.com</email>
</author>
<published>2021-04-02T18:11:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=d77f216faea5566ba8ebdbf1456c5e6806d2eeb5'/>
<id>d77f216faea5566ba8ebdbf1456c5e6806d2eeb5</id>
<content type='text'>
Co-authored-by: drkhsh &lt;me@drkhsh.at&gt;
Signed-off-by: drkhsh &lt;me@drkhsh.at&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: drkhsh &lt;me@drkhsh.at&gt;
Signed-off-by: drkhsh &lt;me@drkhsh.at&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>New component: cat</title>
<updated>2022-11-23T23:01:52+00:00</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2022-11-23T22:59:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=57c6e7340d16b14d61f9e3361ca4940f53dfcafa'/>
<id>57c6e7340d16b14d61f9e3361ca4940f53dfcafa</id>
<content type='text'>
Generically reads an arbitrary file natively.

Saves a few layers of execution in comparison to using `run_command`
with an argument like `cat ./file`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generically reads an arbitrary file natively.

Saves a few layers of execution in comparison to using `run_command`
with an argument like `cat ./file`.
</pre>
</div>
</content>
</entry>
<entry>
<title>separator: kill that useless thing</title>
<updated>2022-10-27T23:00:40+00:00</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2022-10-27T20:14:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=c46c1487a986496dd813ec52e17e5bf9ba10fd84'/>
<id>c46c1487a986496dd813ec52e17e5bf9ba10fd84</id>
<content type='text'>
Just use the format strings dude. :)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just use the format strings dude. :)
</pre>
</div>
</content>
</entry>
<entry>
<title>do not rely on obsolete feature</title>
<updated>2022-10-26T21:32:43+00:00</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-10-26T20:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=0c2b3e5b5c499b1de566fd4bef49c5e6b5254d1a'/>
<id>0c2b3e5b5c499b1de566fd4bef49c5e6b5254d1a</id>
<content type='text'>
function prototype with unspecified argument is obsolete since c99.

additionally some of these function which don't take any argument were
being called with a `const char *` arg, which is UB.

fix both these issues by declararing ALL the components to accept a
`const char *`, and name the arg "unused" if it's meant to be ignored.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
function prototype with unspecified argument is obsolete since c99.

additionally some of these function which don't take any argument were
being called with a `const char *` arg, which is UB.

fix both these issues by declararing ALL the components to accept a
`const char *`, and name the arg "unused" if it's meant to be ignored.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix keyboard_indicators() prototype</title>
<updated>2022-10-26T19:24:09+00:00</updated>
<author>
<name>NRK</name>
<email>nrk_AT_disroot.org</email>
</author>
<published>2022-08-27T14:40:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=3c47701aea6bdb1e27c9b2039c07321077764f45'/>
<id>3c47701aea6bdb1e27c9b2039c07321077764f45</id>
<content type='text'>
according to both the function definition and the comment in
config.def.h, keyboard_indicators() should take a format string.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
according to both the function definition and the comment in
config.def.h, keyboard_indicators() should take a format string.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add separator module</title>
<updated>2020-11-30T20:15:13+00:00</updated>
<author>
<name>Ryan Kes</name>
<email>alrayyes@gmail.com</email>
</author>
<published>2019-03-30T12:45:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae'/>
<id>2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>slstatus.h: Fix coding style</title>
<updated>2018-07-06T06:03:31+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-07-06T06:03:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=efa26f4f3548bce8086abcd8de7ca135169e6f37'/>
<id>efa26f4f3548bce8086abcd8de7ca135169e6f37</id>
<content type='text'>
Function declarations should include variable names.
For functions with different parameters on different platfroms they are
left out.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Function declarations should include variable names.
For functions with different parameters on different platfroms they are
left out.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Add basic backlight percentage support"</title>
<updated>2018-05-27T14:46:03+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-27T14:46:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=c28643ce5bc8c7fd825e4eabbd915bad2b91dbd0'/>
<id>c28643ce5bc8c7fd825e4eabbd915bad2b91dbd0</id>
<content type='text'>
On OpenBSD the backlight percentage cannot be retrieved in a simple way.
The only two solutions we are aware of for now are:

 - reading from /dev/ttyC0: which isn't possible without changing
 permissions or running slstatus as root
 - linking against xcb-xrandr: which is bloat and does not work in every
 case appearently

This reverts commit 37724ac2c3f496f4736223d0d8e5d8fecb933590 for now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On OpenBSD the backlight percentage cannot be retrieved in a simple way.
The only two solutions we are aware of for now are:

 - reading from /dev/ttyC0: which isn't possible without changing
 permissions or running slstatus as root
 - linking against xcb-xrandr: which is bloat and does not work in every
 case appearently

This reverts commit 37724ac2c3f496f4736223d0d8e5d8fecb933590 for now.
</pre>
</div>
</content>
</entry>
</feed>
