adding first version of arandr module to contrib

This commit is contained in:
Zero Rust 2020-05-17 08:03:03 -04:00
parent e339158aed
commit f5d296df80

View file

@ -0,0 +1,28 @@
# pylint: disable=C0111,R0903
"""My TEST
Requires the following executable:
* arandr
* xrandr
"""
import core.module
import core.widget
import core.input
import core.decorators
class Module(core.module.Module):
@core.decorators.never
def __init__(self, config, theme):
super().__init__(config, theme, core.widget.Widget(""))
core.input.register(
self,
button=core.input.LEFT_MOUSE,
cmd="arandr",
)
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4