<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swaystatus/clock/src/lib.rs, branch main</title>
<subtitle>Small status bar tool for i3 or sway. Mostly coded for myself, but feel free to use/fix/extend. </subtitle>
<id>https://git.grois.info/swaystatus/atom/clock/src/lib.rs?h=main</id>
<link rel='self' href='https://git.grois.info/swaystatus/atom/clock/src/lib.rs?h=main'/>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/'/>
<updated>2021-11-29T21:38:44Z</updated>
<entry>
<title>Run clippy and fix all lints.</title>
<updated>2021-11-29T21:38:44Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-11-29T21:38:44Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=6277f4351fd68f1cdd434818eac7b0d18eac3c76'/>
<id>urn:sha1:6277f4351fd68f1cdd434818eac7b0d18eac3c76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update pulse help string and add a few serde renames.</title>
<updated>2021-11-28T23:18:44Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-11-28T23:18:44Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=9549395257a22d4f03f5175602adf9980802a6cd'/>
<id>urn:sha1:9549395257a22d4f03f5175602adf9980802a6cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Make runnable's run() method take a mutable self-reference."</title>
<updated>2021-05-03T06:20:40Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-05-03T06:20:40Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=0b6a4634675f27b88bb61b54f2b3711d0cd2f1a0'/>
<id>urn:sha1:0b6a4634675f27b88bb61b54f2b3711d0cd2f1a0</id>
<content type='text'>
This reverts commit e1f0525e4e1dcf674aa7489042a06b7c7d671a2a.
I've decided against having mutable self-references. It's a bit less
convenient, but more sane. Also, the revert can be reverted any time,
should the need arise.
</content>
</entry>
<entry>
<title>Make runnable's run() method take a mutable self-reference.</title>
<updated>2021-05-02T14:10:34Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-05-02T14:10:34Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=e1f0525e4e1dcf674aa7489042a06b7c7d671a2a'/>
<id>urn:sha1:e1f0525e4e1dcf674aa7489042a06b7c7d671a2a</id>
<content type='text'>
Because there is no real reason speaking against it, and it makes plugin
development a lot easier.
</content>
</entry>
<entry>
<title>Add options: List plugins, and get plugin help.</title>
<updated>2021-04-26T20:23:38Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-04-26T20:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=b4341551960626fb892d2de785130ce14dec4754'/>
<id>urn:sha1:b4341551960626fb892d2de785130ce14dec4754</id>
<content type='text'>
This fixes the TODO document's notes about not being able to get help
for individual plugins, and about not having any means to list all
loadable plugins.
</content>
</entry>
<entry>
<title>New clippy lints, better code...</title>
<updated>2021-04-26T18:04:06Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-04-26T18:04:06Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=94a8deabd176c07fbf825627cbbbdb3b95b85b15'/>
<id>urn:sha1:94a8deabd176c07fbf825627cbbbdb3b95b85b15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reduce data type in clock to u64.</title>
<updated>2021-04-22T19:53:26Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-04-22T19:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=e49bce0cc47f26573b830ff62233530d25c46377'/>
<id>urn:sha1:e49bce0cc47f26573b830ff62233530d25c46377</id>
<content type='text'>
This still gives us more than 8000 years of range, and uses a tiny bit
less CPU time.
</content>
</entry>
<entry>
<title>Fix rounding issue in clock:</title>
<updated>2021-04-22T19:52:36Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-04-22T19:07:46Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=a660b6e5dd1d53bdbe9bdc5239665a647a2e2080'/>
<id>urn:sha1:a660b6e5dd1d53bdbe9bdc5239665a647a2e2080</id>
<content type='text'>
Sleep a millisecond if otherwise an update would get skipped. This
happens if a refresh is requested in the last millisecond before the
next synchronized update is expected.
</content>
</entry>
<entry>
<title>Change format for clock refresh rate once more.</title>
<updated>2021-04-22T18:44:06Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-04-22T18:44:06Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=7e190c3aafd7b7c14af126368f8c35ef150bbf54'/>
<id>urn:sha1:7e190c3aafd7b7c14af126368f8c35ef150bbf54</id>
<content type='text'>
It's now optional again, but needs its own block.
</content>
</entry>
<entry>
<title>Simplified clock config. It now only has 2 options for rates.</title>
<updated>2021-04-22T18:19:45Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-04-22T18:19:45Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=d380bfdba3a01eeb5647600b1939bbd68741e768'/>
<id>urn:sha1:d380bfdba3a01eeb5647600b1939bbd68741e768</id>
<content type='text'>
Either it's updating every n seconds (float) but not synchronized to the
actual UTC time, or it's updating synchronized, but with the limitation
that the update rate is given as updates/(30 minutes). Explanation why
this format was chosen is in the source file.
</content>
</entry>
</feed>
