Desktop event listener for minimal window manager users
SCREEN_CHANGE
event could be triggered hourly without changes.x11.DeviceState
for listening for input or screen plug/unplug events. Useful for
automatically running autorandr or xrandr for setting up your monitor, but also to configure your
peripherals. That requires python-xcffib
to be installed prior to running wmcompanion. It goes
without saying that this feature is exclusive to X11 and it will not work on Wayland.power.PowerActions
RETURN_FROM_SLEEP event so you can perform operations when the system
comes back from sleep. Useful for updating the power source state in case it changes while
computer is asleep.power.PowerActions
LID_CLOSE event as this is now being handled by a higher level event:
screen state on X11. You will need to remove references to it on your config.py
should you have
any.subprocess
- you will need
to replace any import ... from 'process'
by import ... from 'subprocess'
on your config.py
@on
decoratorcmd
and shell
to simplify calling commands from within
user config@use
on callbacks