Releases: kriansa/wmcompanion
Releases · kriansa/wmcompanion
Release v0.6.4
Release v0.6.3
- Fix compatibility with xcffib >= 1.2.0
Release v0.6.2
- Fix a bug where X11
SCREEN_CHANGE
event could be triggered hourly without changes.
Release v0.6.1
- 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
- Fix all linter issues
- Add new LogindIdleStatus EventListener
- Add examples to the docs
Release v0.5.0
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 requirespython-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 yourconfig.py
should you have
any. - Unify all process-related classes and functions onto the same module:
subprocess
- you will need
to replace anyimport ... from 'process'
byimport ... from 'subprocess'
on yourconfig.py
Release v0.4.0
- 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
- 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
- Feature: add subprocess module with
cmd
andshell
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
- Add new event listener: PowerActions - now you can monitor battery level and power source