Commit Graph

5 Commits

Author SHA1 Message Date
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