Alex
c5cefb5520
AIconLabel: make regex static and initialize label_contains_icon
...
Compile the icon-extraction std::regex objects once via static locals
instead of rebuilding them on every update() of every AIconLabel-derived
module (custom, mpris, ...). Also default-initialize label_contains_icon
to false at its declaration.
2026-07-03 22:10:16 +02:00
Rio Sanjaya
0053b27125
Merge branch 'Alexays:master' into encode_icon_inside_label
2026-03-12 13:17:40 +07:00
Alex
47fb21a2c1
chore: upgrade to clang-format@21
2026-02-04 09:24:14 +01:00
Rio Sanjaya
8e9ebb8bb1
use snake_case for variable name
2025-12-27 17:57:20 +07:00
Rio Sanjaya
eb2090688c
AIconLabel: support icon-size config
2025-12-24 08:43:32 +07:00
Rio Sanjaya
b8da9ee94c
Move extract icon into its own method
2025-12-24 08:43:03 +07:00
Rio Sanjaya
c0b9635e28
Parse label_ to extract embedded icon markup
2025-12-24 08:42:02 +07:00
Rio Sanjaya
c2c1a5d614
Add labelCOntainsIcon in AIconLabel
2025-12-24 08:40:42 +07:00
Cole Leavitt
45cfaf4a0b
fix: validate 'swap-icon-label' configuration type and log warnings
2025-09-17 21:20:43 -07:00
Alex
286cff2e3d
fix: lint
2025-06-22 09:44:35 +02:00
Davide Manini
34484919d6
AIconLabel: honour rotation' option; add swap-icon-label' option
2025-06-03 14:54:41 +03:00
Azazel
ba48d26dd4
chore: amend default icon spacing
2024-02-28 00:24:58 +00:00
Azazel
a7d8b1bacf
feat: re-add default and configurable icon spacing
2024-02-26 20:58:38 +00:00
Azazel
16aced7f9f
feat: move name and classes from label_ to box_
2024-02-26 04:07:03 +00:00
Azazel
3a5aa5ee83
feat: improve default spacing and add to config
2024-02-25 22:56:52 +00:00
Alex
77d8376fef
refactor: disable icon by default
2022-03-10 09:48:50 +01:00
Felix Weilbach
bcadf64031
Show application icon when using sway window module
...
Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de >
2022-01-24 17:37:51 +01:00