<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slstatus, branch native-functions</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>Messing with it</title>
<updated>2026-07-03T08:21:13+00:00</updated>
<author>
<name>Chris Sobczak</name>
<email>chris@sobczak.family</email>
</author>
<published>2026-07-03T08:21:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=a9adc52bc8eb561e8e21fc38b001e128ff58f394'/>
<id>a9adc52bc8eb561e8e21fc38b001e128ff58f394</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change unknown value to ?</title>
<updated>2026-07-03T08:09:26+00:00</updated>
<author>
<name>Chris Sobczak</name>
<email>chris@sobczak.family</email>
</author>
<published>2026-07-03T08:09:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=8cab3a83dd816efc457268d359b60e885365b104'/>
<id>8cab3a83dd816efc457268d359b60e885365b104</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add custom status scripts</title>
<updated>2026-06-30T23:20:39+00:00</updated>
<author>
<name>Chris Sobczak</name>
<email>chris@sobczak.family</email>
</author>
<published>2026-06-30T23:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=a96caf11b886417daf7b9d7c41df34560e7c10ac'/>
<id>a96caf11b886417daf7b9d7c41df34560e7c10ac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>copy config</title>
<updated>2026-06-30T22:41:12+00:00</updated>
<author>
<name>Chris Sobczak</name>
<email>chris@sobczak.family</email>
</author>
<published>2026-06-30T22:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=13db1a0a8b7e534ce245103f4d1489293c47332a'/>
<id>13db1a0a8b7e534ce245103f4d1489293c47332a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>license: bump copyright year</title>
<updated>2026-02-12T21:54:11+00:00</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2026-02-12T21:54:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=614c275b42064c5433fbb086e7d9639a19f1f127'/>
<id>614c275b42064c5433fbb086e7d9639a19f1f127</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix buffer overflow in battery state parsing</title>
<updated>2026-02-12T21:52:21+00:00</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2026-02-12T21:52:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=98769dfed7266b5a9959162e03bee1ddfaf5ecb4'/>
<id>98769dfed7266b5a9959162e03bee1ddfaf5ecb4</id>
<content type='text'>
"Not charging" is 12 characters; %12[a-zA-Z ] reads up to 12 chars
plus a NUL terminator (13 bytes) into a 12-byte buffer. Increase
state buffer to 13 in both battery_state and battery_remaining.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"Not charging" is 12 characters; %12[a-zA-Z ] reads up to 12 chars
plus a NUL terminator (13 bytes) into a 12-byte buffer. Increase
state buffer to 13 in both battery_state and battery_remaining.
</pre>
</div>
</content>
</entry>
<entry>
<title>wifi: always retry ioctl for ifindex</title>
<updated>2026-02-12T21:46:02+00:00</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2026-02-12T21:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=4f61bbbd8e9278c75f29e7853ae8922717261d2d'/>
<id>4f61bbbd8e9278c75f29e7853ae8922717261d2d</id>
<content type='text'>
ifindex() caches the result of ioctl(SIOCGIFINDEX) and never
retries it, since the interface name strcmp succeeds after the
first call. if the interface does not exist when slstatus starts
(e.g. iwd with default config destroys/recreates interfaces
depending on service state), the ioctl fails and the stale
result is returned on all subsequent calls.

based on a patch by ryhpez, with input from Taha Medhous
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ifindex() caches the result of ioctl(SIOCGIFINDEX) and never
retries it, since the interface name strcmp succeeds after the
first call. if the interface does not exist when slstatus starts
(e.g. iwd with default config destroys/recreates interfaces
depending on service state), the ioctl fails and the stale
result is returned on all subsequent calls.

based on a patch by ryhpez, with input from Taha Medhous
</pre>
</div>
</content>
</entry>
<entry>
<title>volume: avoid NULL dereference in onval() on sndio device switch</title>
<updated>2026-02-12T21:45:28+00:00</updated>
<author>
<name>Chris Billington</name>
<email>emulti@disroot.org</email>
</author>
<published>2025-11-21T04:31:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=6fa36bad9f74154d4bf3be834ada93e04bf737e1'/>
<id>6fa36bad9f74154d4bf3be834ada93e04bf737e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>more concise memory calculation on Linux</title>
<updated>2025-07-24T20:41:25+00:00</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2025-07-24T20:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=8723e8b8c69c08bae8abe02ea1f4a49758b8bdfc'/>
<id>8723e8b8c69c08bae8abe02ea1f4a49758b8bdfc</id>
<content type='text'>
more flexible parsing for /proc/meminfo to take shared and reclaimable
memory into account. this matches the output with free(1).

additionally this could fix some corner cases, as the order of fields in
/proc/meminfo is not strictly defined.

slstatus:
percent 81% free 2.5 Gi total 23.4 Gi used 19.0 Gi

free(1):
               total        used        free      shared  buff/cache   available
Mem:            23Gi        19Gi       2.5Gi       1.3Gi       3.2Gi       3.6Gi
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
more flexible parsing for /proc/meminfo to take shared and reclaimable
memory into account. this matches the output with free(1).

additionally this could fix some corner cases, as the order of fields in
/proc/meminfo is not strictly defined.

slstatus:
percent 81% free 2.5 Gi total 23.4 Gi used 19.0 Gi

free(1):
               total        used        free      shared  buff/cache   available
Mem:            23Gi        19Gi       2.5Gi       1.3Gi       3.2Gi       3.6Gi
</pre>
</div>
</content>
</entry>
<entry>
<title>fix name confusion in LICENSE</title>
<updated>2025-07-16T16:21:43+00:00</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2025-07-16T16:21:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=6eb7887853537ac0cf91517019328e038382bdd8'/>
<id>6eb7887853537ac0cf91517019328e038382bdd8</id>
<content type='text'>
thanks for reporting, dsp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
thanks for reporting, dsp
</pre>
</div>
</content>
</entry>
</feed>
