Commit Graph
10 Commits
Author SHA1 Message Date
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 c2c1a5d614 Add labelCOntainsIcon in AIconLabel 2025-12-24 08:40:42 +07:00
Viktar Lukashonak 61a6c00c02 Happy clang 2023-03-02 16:57:32 +03:00
Alex f2fcadbf62 refactor: lint 2022-04-06 08:37:19 +02: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