adding first version of arandr module to contrib
This commit is contained in:
parent
e339158aed
commit
f5d296df80
1 changed files with 28 additions and 0 deletions
28
bumblebee_status/modules/contrib/arandr.py
Normal file
28
bumblebee_status/modules/contrib/arandr.py
Normal 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
|
Loading…
Reference in a new issue