Skip to content

Release v0.5.0

Compare
Choose a tag to compare
@kriansa kriansa released this 01 Oct 03:42
· 17 commits to main since this release

Features

  • Add new 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.
  • Add new 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.

Bug fixes

  • Omit warnings when connecting to Polybar IPC, most of the time they aren't issues
  • Quickly fail in case any event listener presents issues while starting up

Breaking changes

  • Remove 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.
  • Unify all process-related classes and functions onto the same module: subprocess - you will need
    to replace any import ... from 'process' by import ... from 'subprocess' on your config.py