Releases: NobodyXu/swaystatus
0.4.8
0.4.7
swaystatus 0.4.6
Improve robustness of the code:
Expose size of array callbacks in handle_click_events.hpp so that modules/Base.cc can static_assert it and make sure there are more slots in the callback than the modules present.
This prevents the programmer from forgetting to update CALLBACK_CNT when adding new modules.
swaystatus 0.4.5
NEW FEATURE:
- Support for custom block that calls into your python script/c library and displays whatever it returns onto the swaybar
swaystatus 0.4.4
This release brings:
- Improve error message when C++ exception is disabled
- Enable the click event handler to update/reload the respective module
- Fixed #45
- Various minor fix
swaystatus 0.4.3
This release "speedup" initial load time of swaystatus.
The "slow" initial load time of the swaystatus is caused by the fact that
the initial expiration time of create_pollable_monotonic_timer is set to
interval, which is 1 sec by default.
This release resolved that by setting the initial expire of the timer to be ASAP (1 nanoseconds).
swaystatus 0.4.2
This release:
- Built with
-O3instead of-Oz. - Heavily refactor the existing code base to use proper OOP practice so that it is
- more modernaised
- simpler
- easier to read and understand
- Changed the structure of src code to group similar src together
- Added automatic dep calculating to Makefile
- Add back support for
-fno-exceptions
swaystatus 0.4.1
C++ Exception is now enabled to improve error message when the configuration is incorrect.
swaystatus 0.4.0
New feature
- Support for multiple batteries
- Support for using
excluded_modelto exclude certain battery to work around driver bugs
Contribution
Thank you @nikp123 for suggesting these new features!
swaystatus 0.3.1
Fixed #32