Wmcompanion Versions Save

Desktop event listener for minimal window manager users

v0.6.4

1 year ago
  • Fix compatibility with Python 3.11

v0.6.3

1 year ago
  • Fix compatibility with xcffib >= 1.2.0

v0.6.2

1 year ago
  • Fix a bug where X11 SCREEN_CHANGE event could be triggered hourly without changes.

v0.6.1

1 year ago
  • Fixed an issue with PowerActions where it would error if a battery was not named BAT0
  • Fixed an issue where pylint would complain about not-callable on config.py

v0.6.0

1 year ago
  • Fix all linter issues
  • Add new LogindIdleStatus EventListener
  • Add examples to the docs

v0.5.0

1 year ago

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

v0.4.0

1 year ago
  • Fix: make PowerActions less noisy by not triggering battery change every other event
  • Feat: add support for multiple event listeners when using the @on decorator

v0.3.0

1 year ago
  • Fix Polybar module: don't rely on actual Polybar instance being running before starting
  • Feature: add LID_CLOSE as an event for PowerActions
  • BREAKING: Rename Actions to Event on PowerActions in order to reduce ambiguity

v0.2.1

1 year ago
  • Feature: add subprocess module with cmd and shell to simplify calling commands from within user config
  • Fix BluetoothStatus so that it works with any adapter on the computer
  • Fix an issue with PowerEvents whereas multiple power button triggers would not get picked up by the callbacks
  • Fix a major issue with the decorators, allowing us to use multiple @use on callbacks

v0.2.0

1 year ago
  • Add new event listener: PowerActions - now you can monitor battery level and power source