Commit Graph

22 Commits

Author SHA1 Message Date
Carl Helmertz 1230c31d7e watch.mdwn: Correct example of battery widget (#144) 2019-05-02 14:59:51 -04:00
streetturtle b5683ecea5 Added awesome-taglist post to recipes (#104) 2017-10-28 00:00:08 +02:00
Luca CPZ e6e29f9931 recipes: add iostat 2017-10-11 13:35:12 +02:00
Uli Schlachter 71791fbfb5 mpc.lua: Add support for Unix sockets (#115)
If the host name begins with a slash then we assume that it is a unix
socket. Else, we use a TCP connection as before.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-09-02 16:05:54 +02:00
Daniel Hahler 46c310f8da recipes/gpmdp.mdwn: fix issues reported by mdl (#112) 2017-08-23 11:36:08 +02:00
Daniel Hahler d0bbb74c89 Revisit recipes/xrandr.mdwn (#113) 2017-08-23 11:34:49 +02:00
Daniel Hahler 376b400cae Recipes: add .luacheckrc symlink (#110)
This uses awesome's .luacheckrc for recipes also.

In the long run we might want to enforce luacheck for recipes, but
currently there are quite some issues still.
2017-08-23 11:26:37 +02:00
Greg Flynn 79d1d3b53d Add gpmdp recipe (#108) 2017-08-14 13:17:44 +02:00
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