1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2026-06-01 21:40:47 +02:00
Commit graph

23 commits

Author SHA1 Message Date
Jake Stanger
2bc741d197
fix(tray): crash when provided empty pixmap
Fixes #675
2024-08-04 13:40:05 +01:00
Jake Stanger
a9a32817e0
Revert "Fix Pango markup not escaped" 2024-06-02 17:42:18 +01:00
Jake Stanger
b8fdd8531e
refactor: explicitly use set_text on non-pango labels 2024-06-02 15:23:46 +01:00
Jake Stanger
36d724f148
feat(config): json schema support
This PR includes the necessary code changes, CI changes and documentation to generate and deploy a full JSON schema for each release and the master branch, which can be used within config files for autocomplete and type checking.
2024-05-31 22:01:50 +01:00
Jake Stanger
c7743b28c6
docs: add rustdoc comments to all module options
This part of an upcoming effort to generate documentation from code.

Pushing this out before that stage so that the JSON schema is fully documented.
2024-05-23 21:46:33 +01:00
Robert Nelson
188abc33e9
fix(tray): icon colour channels are being incorrectly rendered
Converts from ARGB32 to RGBA32 formats when rendering tray Pixmaps

Fixes #546
2024-04-24 20:52:17 +01:00
Jake Stanger
9245188af7
refactor: better error handling for client initialization 2024-04-01 16:34:25 +01:00
Jake Stanger
1b35354272
refactor: fix clippy warnings 2024-04-01 16:33:38 +01:00
Jake Stanger
994f4a4a12
feat: ability to add custom modules instead native modules
Resolves #131
2024-04-01 15:01:37 +01:00
Jake Stanger
30b11db435
fix(tray): cannot activate menu options with right click
Fixes #513
2024-03-29 13:13:29 +00:00
Jake Stanger
ba004455b2
feat(tray): option to prefer theme-provided icons 2024-03-29 00:31:20 +00:00
Jake Stanger
004ea76da5
refactor(tray): complete client rewrite 2024-03-29 00:31:20 +00:00
Jake Stanger
5a3ba08ddd
Merge pull request #470 from JakeStanger/fix/tray
More tray fixes
2024-03-17 14:12:56 +00:00
Jake Stanger
86c5b69f18
refactor(tray): tidy imports 2024-03-14 22:35:55 +00:00
Jake Stanger
c62d47555e
fix(tray): submenus not working
Fixes a regression from previous tray fixes that caused submenus within
the main tray menu to never show.

Fixes #455
2024-02-25 20:57:36 +00:00
Jake Stanger
0675b917f2
fix(tray): icons ignoring scaling 2024-02-25 20:57:36 +00:00
Jake Stanger
72440e69c9
feat(tray): icon size setting 2024-02-25 17:13:28 +00:00
Jake Stanger
a55ba8c523
refactor: rename get_orientation method to orientation 2024-02-18 14:57:29 +00:00
Rémi Labeyrie
b037a55fb7
feat(tray): add direction option 2024-02-17 00:33:10 +01:00
Jake Stanger
133632d1ad
fix(tray): vastly improve rendering performance 2024-02-01 22:38:14 +00:00
Jake Stanger
4662f60ac5
refactor: move various clients to own folder 2022-11-06 23:38:51 +00:00
Jake Stanger
ff17ec1996
refactor: various changes based on rust 1.65 clippy 2022-11-06 22:53:48 +00:00
Jake Stanger
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