<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slstatus.git/Makefile, branch zachir</title>
<subtitle>Simple status info for dwm.
</subtitle>
<id>https://git.zachir.xyz/slstatus.git/atom?h=zachir</id>
<link rel='self' href='https://git.zachir.xyz/slstatus.git/atom?h=zachir'/>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/slstatus.git/'/>
<updated>2023-05-15T17:11:39Z</updated>
<entry>
<title>Fix release tarball to prepare for release</title>
<updated>2023-05-15T17:11:39Z</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2023-05-15T17:11:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/slstatus.git/commit/?id=483169021ba996f59a97b4e3b74cee7e43d6ab6f'/>
<id>urn:sha1:483169021ba996f59a97b4e3b74cee7e43d6ab6f</id>
<content type='text'>
Correctly copies components to sub-directory, adds all required files
</content>
</entry>
<entry>
<title>New component: cat</title>
<updated>2022-11-23T23:01:52Z</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2022-11-23T22:59:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/slstatus.git/commit/?id=57c6e7340d16b14d61f9e3361ca4940f53dfcafa'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>separator: kill that useless thing</title>
<updated>2022-10-27T23:00:40Z</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2022-10-27T20:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/slstatus.git/commit/?id=c46c1487a986496dd813ec52e17e5bf9ba10fd84'/>
<id>urn:sha1:c46c1487a986496dd813ec52e17e5bf9ba10fd84</id>
<content type='text'>
Just use the format strings dude. :)
</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.zachir.xyz/slstatus.git/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>Add separator module</title>
<updated>2020-11-30T20:15:13Z</updated>
<author>
<name>Ryan Kes</name>
<email>alrayyes@gmail.com</email>
</author>
<published>2019-03-30T12:45:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/slstatus.git/commit/?id=2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae'/>
<id>urn:sha1:2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't explicitly list each component-target</title>
<updated>2018-05-29T19:25:39Z</updated>
<author>
<name>Laslo Hunhold</name>
<email>dev@frign.de</email>
</author>
<published>2018-05-29T19:24:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/slstatus.git/commit/?id=81d5b427cb10eae98fc958627336503390b9a1c1'/>
<id>urn:sha1:81d5b427cb10eae98fc958627336503390b9a1c1</id>
<content type='text'>
I made a mistake while reading the Posix spec. In fact, the implicit
prerequisite imposed by the .c.o-rule is evaluated as expected, even if
the .c is not given in the target rule.

This partially reverts 0efd64ffaa04715eff9c834c437562952c4531cd.
</content>
</entry>
<entry>
<title>Fix object order and stop using a GNU make idiom</title>
<updated>2018-05-28T14:16:20Z</updated>
<author>
<name>Laslo Hunhold</name>
<email>dev@frign.de</email>
</author>
<published>2018-05-28T13:58:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/slstatus.git/commit/?id=cd884c2f0a585f8c6a49f1faacacb7925d75dbb0'/>
<id>urn:sha1:cd884c2f0a585f8c6a49f1faacacb7925d75dbb0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Explicitly list component-objects in the Makefile</title>
<updated>2018-05-27T20:55:15Z</updated>
<author>
<name>Laslo Hunhold</name>
<email>dev@frign.de</email>
</author>
<published>2018-05-27T20:40:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/slstatus.git/commit/?id=0efd64ffaa04715eff9c834c437562952c4531cd'/>
<id>urn:sha1:0efd64ffaa04715eff9c834c437562952c4531cd</id>
<content type='text'>
There was a long tinkering process at farbfeld about this, but the sad
truth is that it's the only way to make the Makefile truly portable.
Listing it just as

   $(COM:=.o): config.mk $(REQ:=.h)

omits the dependency on the c-file itself, which incurs that strictly
speaking the object file is not depending on the source file, which is
nonsense.

You don't see strictly Posix compliant Makefiles around very often and
most use nasty GNU-extensions everywhere. It is a good idea to go ahead
as a fitting example and show how to write them portably.
</content>
</entry>
<entry>
<title>Revert "Add basic backlight percentage support"</title>
<updated>2018-05-27T14:46:03Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-27T14:46:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/slstatus.git/commit/?id=c28643ce5bc8c7fd825e4eabbd915bad2b91dbd0'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Add keymap component</title>
<updated>2018-05-23T08:09:13Z</updated>
<author>
<name>Michael Buch</name>
<email>michaelbuch12@gmail.com</email>
</author>
<published>2018-05-23T06:16:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/slstatus.git/commit/?id=943b42de05cc3328ea74b0d9f527f17e1fcf47e7'/>
<id>urn:sha1:943b42de05cc3328ea74b0d9f527f17e1fcf47e7</id>
<content type='text'>
Adding a new keymap component that will
indicate the current keyboard layout (language)
and variant if any was set. I use the
standard X11 XKB APIs to retrieve and parse
the xkb_symbols set with setxkbmap.
</content>
</entry>
</feed>
