Skip to content

Releases: NobodyXu/swaystatus

0.4.8

08 Mar 23:59
c71cb99

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.7...0.4.8

0.4.7

26 Dec 08:12
4b1963d

Choose a tag to compare

What's Changed

  • Fix compilatio error by using [[fallthrough]] by @mcepl in #53

Full Changelog: 0.4.6...0.4.7

swaystatus 0.4.6

26 Jul 07:11

Choose a tag to compare

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

15 Jun 05:38
1f50636

Choose a tag to compare

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

08 May 06:22
4891e41

Choose a tag to compare

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

01 May 08:50

Choose a tag to compare

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

01 May 08:20

Choose a tag to compare

This release:

  • Built with -O3 instead 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

29 Apr 04:28
bed3276

Choose a tag to compare

C++ Exception is now enabled to improve error message when the configuration is incorrect.

swaystatus 0.4.0

29 Apr 03:46
bed3276

Choose a tag to compare

New feature

  • Support for multiple batteries
  • Support for using excluded_model to exclude certain battery to work around driver bugs

Contribution

Thank you @nikp123 for suggesting these new features!

swaystatus 0.3.1

11 Apr 02:02

Choose a tag to compare