Skip to content

Releases: kriansa/wmcompanion

Release v0.6.4

03 May 19:35
Compare
Choose a tag to compare
  • Fix compatibility with Python 3.11

Release v0.6.3

18 Jan 01:00
Compare
Choose a tag to compare
  • Fix compatibility with xcffib >= 1.2.0

Release v0.6.2

08 Jan 09:04
Compare
Choose a tag to compare
  • Fix a bug where X11 SCREEN_CHANGE event could be triggered hourly without changes.

Release v0.6.1

25 Oct 18:31
Compare
Choose a tag to compare
  • 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

Release v0.6.0

20 Oct 19:36
Compare
Choose a tag to compare
  • Fix all linter issues
  • Add new LogindIdleStatus EventListener
  • Add examples to the docs

Release v0.5.0

01 Oct 03:42
Compare
Choose a tag to compare

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

Release v0.4.0

11 Aug 20:54
Compare
Choose a tag to compare
Release v0.4.0 Pre-release
Pre-release
  • 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

Release v0.3.0

11 Aug 06:59
Compare
Choose a tag to compare
Release v0.3.0 Pre-release
Pre-release
  • 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

Release v0.2.1

31 Jul 00:30
Compare
Choose a tag to compare
Release v0.2.1 Pre-release
Pre-release
  • 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

Release v0.2.0

30 Jul 02:32
Compare
Choose a tag to compare
Release v0.2.0 Pre-release
Pre-release
  • Add new event listener: PowerActions - now you can monitor battery level and power source