<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hbspbar/status, branch master</title>
<subtitle>custom status bar for bspwm
</subtitle>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/'/>
<entry>
<title>Alter sleep behaviour for date()</title>
<updated>2026-06-03T15:33:56+00:00</updated>
<author>
<name>Hayden Hamilton</name>
<email>hayden@hhvn.uk</email>
</author>
<published>2026-06-03T15:33:56+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/commit/?id=eca2774bae841168afff8a435b5f8341cbdd6eb7'/>
<id>eca2774bae841168afff8a435b5f8341cbdd6eb7</id>
<content type='text'>
// Previously this status would sleep all the way until the next day.
// This worked fine until the device entered sleep/hibernation
//
// Therefore a limit was added. Not the ideal solution,
// as if the device is woken within config.MaxSleep,
// then the date will not update until some extra time has elapsed.
//
// TODO: a better solution
if (until &gt; config.MaxSleep) {
	until = config.MaxSleep
}

time.Sleep(until)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
// Previously this status would sleep all the way until the next day.
// This worked fine until the device entered sleep/hibernation
//
// Therefore a limit was added. Not the ideal solution,
// as if the device is woken within config.MaxSleep,
// then the date will not update until some extra time has elapsed.
//
// TODO: a better solution
if (until &gt; config.MaxSleep) {
	until = config.MaxSleep
}

time.Sleep(until)
</pre>
</div>
</content>
</entry>
<entry>
<title>date+time status blocks have existed for a long time, but forgot to commit</title>
<updated>2026-06-03T15:25:12+00:00</updated>
<author>
<name>Hayden Hamilton</name>
<email>hayden@hhvn.uk</email>
</author>
<published>2026-06-03T15:25:12+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/commit/?id=25cd38bb49d22ffa42008a83ae86fba405fd2e14'/>
<id>25cd38bb49d22ffa42008a83ae86fba405fd2e14</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tidy up the status block api a bit</title>
<updated>2024-04-14T12:49:18+00:00</updated>
<author>
<name>hhvn</name>
<email>dev@hhvn.uk</email>
</author>
<published>2024-04-14T12:49:18+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/commit/?id=612e4fbeb14001d5eef0bb0e3e19ea65eb47cef2'/>
<id>612e4fbeb14001d5eef0bb0e3e19ea65eb47cef2</id>
<content type='text'>
Handle (nearly) all the plumbing (sleeps, goroutines and comms) in register()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handle (nearly) all the plumbing (sleeps, goroutines and comms) in register()
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass slice of Blocks via NewBlocks</title>
<updated>2024-02-02T21:08:13+00:00</updated>
<author>
<name>hhvn</name>
<email>dev@hhvn.uk</email>
</author>
<published>2024-02-02T20:40:07+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/commit/?id=0b3d4426cb585ceade7a27ed28cfe08f1710738d'/>
<id>0b3d4426cb585ceade7a27ed28cfe08f1710738d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prevent concurrent read/write to status map</title>
<updated>2024-01-29T17:53:49+00:00</updated>
<author>
<name>hhvn</name>
<email>dev@hhvn.uk</email>
</author>
<published>2024-01-29T17:53:49+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/commit/?id=d041bda3ef6897bff7d1dc34e30686b502a48374'/>
<id>d041bda3ef6897bff7d1dc34e30686b502a48374</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>register() in statuses: handle errs and start goroutine</title>
<updated>2024-01-27T16:55:10+00:00</updated>
<author>
<name>hhvn</name>
<email>dev@hhvn.uk</email>
</author>
<published>2024-01-27T16:53:24+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/commit/?id=4e7b725a88ed1ad19cc67cbbbb46f3702c3bee97'/>
<id>4e7b725a88ed1ad19cc67cbbbb46f3702c3bee97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Each bar has drawing goroutine. Mutexes eliminated.</title>
<updated>2024-01-27T15:17:35+00:00</updated>
<author>
<name>hhvn</name>
<email>dev@hhvn.uk</email>
</author>
<published>2024-01-27T15:17:35+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/commit/?id=0064d3f30cb971cde1ec8214224497a158bc2649'/>
<id>0064d3f30cb971cde1ec8214224497a158bc2649</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make bar run state.GetMon itself</title>
<updated>2023-12-30T14:16:56+00:00</updated>
<author>
<name>hhvn</name>
<email>dev@hhvn.uk</email>
</author>
<published>2023-12-30T14:16:56+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/commit/?id=ec83d2780491159c4425ee1a5816c2bd4d6e6245'/>
<id>ec83d2780491159c4425ee1a5816c2bd4d6e6245</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix memory status</title>
<updated>2023-12-30T13:42:49+00:00</updated>
<author>
<name>hhvn</name>
<email>dev@hhvn.uk</email>
</author>
<published>2023-12-30T13:42:49+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/commit/?id=e13eff1c2c9643bf63a484222430cc3880b98d3d'/>
<id>e13eff1c2c9643bf63a484222430cc3880b98d3d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Variadic drw.Blend</title>
<updated>2023-11-19T15:35:56+00:00</updated>
<author>
<name>hhvn</name>
<email>dev@hhvn.uk</email>
</author>
<published>2023-11-19T15:35:56+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/hbspbar/commit/?id=0f4869662c6ea6f5d4b976d5ff95b12d2f1cf198'/>
<id>0f4869662c6ea6f5d4b976d5ff95b12d2f1cf198</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
