Commit Graph

6 Commits

Author SHA1 Message Date
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
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
Jeferson Siqueira d12b5f5c0e Add xrandr.lua multiple monitor recipe (#73) 2017-01-27 02:26:40 +01:00