1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-02 03:01:04 +02:00
Commit graph

6 commits

Author SHA1 Message Date
720ba7bfb0
Major module refactor (#19)
* refactor: major module restructuring

Modules now implement a "controller", which allows for separation of logic from UI code and enforces a tighter structure around how modules should be written. The introduction of this change required major refactoring or even rewriting of all modules.

This also better integrates the popup into modules, making it easier for data to be passed around without fetching the same thing twice

The refactor also improves some client code, switching from `ksway` to the much more stable `swayipc-async`. Partial multi-monitor for the tray module has been added.

BREAKING CHANGE: The `mpd` module config has changed, moving the icons to their own object.
2022-09-25 22:49:00 +01:00
78e30b39fe docs: add some rustdoc comments throughout 2022-08-28 16:57:41 +01:00
6dcae66570
fix: avoid creating loads of sway/mpd clients 2022-08-25 21:53:42 +01:00
ab8f7ecfc8
feat: logging support and proper error handling 2022-08-21 23:36:51 +01:00
7625635050
refactor: fix a couple of clippy warnings 2022-08-15 21:11:17 +01:00
dc14cb003f
feat: new focused window module 2022-08-14 20:40:11 +01:00