1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-09-15 19:26:58 +02:00
ironbar/src
Alan 5520562a18
feat: support glob patterns for keyboard layout icons (#949)
* Simplistic globbing for matching keyboard layout icons

Update the logic for determining the display text for the current keyboard layout.
Instead of a direct map lookup, iterate through the layout map to support wildcard matching.

Patterns ending with `*` will match any language string starting with the characters before the `*`. This allows grouping similar layouts (e.g., `English`, `English (Colemak-DH ISO)`) under a single pattern like `English*`.

* Use `IndexMap` instead of `HashMap` for keyboard layout icons map

This enables users to choose which globs to prioritize via ordering in the config

* Enable feature `serde` for `indexmap`

* Document wildcard matching for keyboard layouts

* Enable `indexmap2` feature flag for `schemars`

* Add missing period

* use string slices

* Fix formatting
2025-07-20 22:19:58 +01:00
..
clients refactor: fix some strict clippy warnings 2025-05-25 12:14:24 +01:00
config chore: update deps 2025-07-14 19:55:25 +01:00
dynamic_value refactor: recv_glib dependency arrays 2025-05-26 22:46:25 +01:00
image fix: regression - image prefixes not handled correctly 2025-05-27 11:38:08 +01:00
ipc fix(ipc): message size limited to 1024 bytes 2025-07-14 21:06:57 +01:00
modules feat: support glob patterns for keyboard layout icons (#949) 2025-07-20 22:19:58 +01:00
bar.rs fix: panic when module controller errors 2025-06-22 16:26:19 +01:00
channels.rs refactor: remove unnecessary Clone constraint from recv_glib methods 2025-05-27 13:31:22 +01:00
cli.rs feat: add shell completions 2024-12-29 00:19:02 +00:00
desktop_file.rs fix: regression caused by #1089 2025-07-20 16:21:31 +01:00
error.rs fix(wayland): exit on event dispatch error 2024-06-20 20:58:56 +01:00
gtk_helpers.rs refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00
ironvar.rs refactor: fix some strict clippy warnings 2025-05-25 12:14:24 +01:00
logging.rs refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00
macros.rs refactor: replace channel macros with ext trait methods 2025-05-18 15:22:58 +01:00
main.rs feat: change icon_overrides to apply to all resolved images 2025-05-25 16:24:17 +01:00
popup.rs refactor: recv_glib dependency arrays 2025-05-26 22:46:25 +01:00
script.rs refactor: fix some strict clippy warnings 2025-05-25 12:14:24 +01:00
style.rs refactor: recv_glib dependency arrays 2025-05-26 22:46:25 +01:00