Commit Graph

14 Commits

Author SHA1 Message Date
Luke Bonham c6638db63a added watch use case examples (#90) 2017-04-07 21:41:00 +02:00
Luke Bonham c22b63227a added countdown widget recipe (#91) 2017-04-07 21:40:12 +02:00
Uli Schlachter 9a549bdd7b mpc: Make a reconnect happen
Without this, the connection might "almost never" be reestablished.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-12 18:02:04 +01:00
Uli Schlachter 1c52a20221 mpc.lua: Call reply handler at a later point
This calls a quite arbitrary callback which could cause an error. Thus,
only call it when everything else is done.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-12 18:00:07 +01:00
Uli Schlachter a0898fc6b7 mpc.lua: Fix "connection closed"-detection
Thanks to SammysHP for reporting this on IRC.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-12 18:00:07 +01:00
Uli Schlachter dfc23755e3 mpc.lua: Use $MPD_HOST/_PORT and default host (#82)
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-12 17:48:27 +01:00
Uli Schlachter a2bbd084e5 xrandr.lua: Use naughty's destroy callback
Instead of starting our own timer, let's re-use naughty's own timer.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-28 18:59:26 +01:00
Uli Schlachter 49c4316959 xrandr.lua: Remove useless icon shuffling
There is only a single icon that this code ever uses. However, it goes
through lots of trouble to move that icon uselessly around. Remove that.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-28 18:46:36 +01:00
Uli Schlachter 96c2e6b43f xrandr.lua: Stop setting font explicitly
This would just more-or-less use the font that naughty already uses by
itself. Put differently: This has (in most cases) no effect.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-28 18:46:03 +01:00
aajjbb 9fe6a0bf0f Removing unused iterator field from state, making xrandr cycle between possible states 2017-01-28 15:19:16 -02:00
Uli Schlachter f04a7d03e7 Fix "fix xrandr.lua link" (#76)
It is my understanding that [title](target) is meant for external links
while [[title|target]] does internal links. The main difference here is
that ikiwiki automatically finds the target and makes it work with its
directory structure, so that no "manual ../" is needed.

This amends/fixes commit f9e7311e.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-27 11:50:27 +01:00
Jeferson Siqueira f9e7311e7c Fix xrandr file link path (#75) 2017-01-27 11:13:37 +01:00
Jeferson Siqueira d12b5f5c0e Add xrandr.lua multiple monitor recipe (#73) 2017-01-27 02:26:40 +01:00
Uli Schlachter 12734ef793 Add a recipe for an MPD widget (#71)
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-24 09:09:11 +01:00