Commit Graph

37 Commits

Author SHA1 Message Date
u 9948c42038
#148 retry mpd connection in client itself (#179)
Co-authored-by: unknown <unknown@bigvault>
2023-11-19 02:52:23 +01:00
Alessandro 1cc040f879 Markdown fix 2022-06-18 14:53:29 +02:00
Alessandro 4dbe53fab6 Pipewire watch recipe 2022-06-18 14:28:50 +02:00
Morgan Smith 224960ce87 Fixed minor misspelling 2021-12-21 14:31:59 +02:00
bzgec 699df89ad0 Using easy_async instead of easy_async_with_shell, providing commands as a list of arguments 2021-04-02 21:40:38 +02:00
bzgec f25f80077a
Merge branch 'master' into recipes/widgets/microphone 2021-04-02 12:42:21 +02:00
bzgec 4849730abd Fixing markdown... 2021-04-02 11:38:54 +02:00
bzgec 0de32abcde Adding '/proc/net/wireless' file information, no more recursive calls in case interface="", fixing markdown 2021-03-20 19:57:52 +01:00
bzgec 5a6a267646 Adding wireless status widget/watcher 2021-03-18 23:57:49 +01:00
bzgec 3a917fe892 Adding microphone watcher/widget 2021-03-18 23:57:24 +01:00
Daniel Hahler ebfa9f3699
Merge pull request #145 from psychon/xrandr
Update xrandr.lua
2019-09-17 00:41:09 +02:00
Fyodor Kurlyuk f7fc05f298 gpmdp.lua: simple fixes to make it work in 2019 (#147) 2019-09-17 00:40:42 +02:00
Uli Schlachter 33506582c6 xrandr.lua: Remove useless use of unpack()
This code would have to check if unpack or table.unpack is the function
to use. Instead of adding this check, this commit just removes the
trivial use of unpack.

Fixes: https://github.com/awesomeWM/awesome/issues/2802
Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-06-26 13:29:42 +02:00
Uli Schlachter c75b355d50 xrandr.lua: Switch from awful.util.spawn to awful.spawn
It's been almost four years since this code was moved around.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-06-26 13:29:33 +02:00
Uli Schlachter 024075a376 xrandr.lua: Switch from awful.util.table to gears.table
gears.table exists already long enough that it is time for this recipe
to start using it.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-06-26 13:26:43 +02:00
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