Commit Graph

33 Commits

Author SHA1 Message Date
f314150736 Merge branch 'master' into issue-1681 2025-06-22 08:41:15 +01:00
f9acc1fed9 Add stretching of modules and modules-center toggling
This Patch allows the stretching of modules-{left,center,right} as well
add a "expand" flag to AModule. This allows one module to consume the
leftover space.
To allow the left or right modules to fully consume the center, the
changes also include a way to remove the center box (center_)
altogether.
2024-11-20 00:00:27 +01:00
6417782af6 chore: lint 2024-09-13 08:55:14 +02:00
14c3235c12 src: clang-tidy 2024-07-02 10:38:58 -05:00
21751b2faa 🎨 clang-tidy 2024-05-09 20:59:25 +02:00
3b87b83076 ♻️ move GMenu to ALabel class 2024-05-09 18:34:26 +02:00
884b909e7d add GtkMenu to the AModule class
You can configure what key launch the menu with the "menu" element in
the config, the xml file that describes the menu with the "menu-file"
element in the config, and the actions of each buttons with the
"menu-actions" field.
2024-05-09 17:28:08 +02:00
9a3044a54f Cursor change to indicate module clickability (#3108)
* Indicate clickability on mouse hover

* Avoid messy overrides situation

* Update AModule.cpp

* Update AModule.cpp

* Update AModule.cpp

* Update AModule.cpp

---------

Co-authored-by: Alexis Rouillard <alexisr245@gmail.com>
2024-04-25 00:15:40 +02:00
6c1125c1fe feat(#2989): (optional) hover for all modules 2024-04-19 19:16:39 +02:00
d590d508ca feat: add module class to the root elements of the modules
Previously, the only way to select all the module labels was with the
following kind of selector:
```css
.modules-left > widget > label,
.modules-center > widget > label,
.modules-right > widget > label {
    /* ... */
}
```
(and a matching block for the `box` containers).

Now, this can be expressed as
```css
label.module, box.module {
    /* ... */
}
```
2024-02-14 22:41:13 -08:00
f5370fcff5 Merge pull request #2573 from CromFr/cabi_plugins
C ABI plugin system
2023-12-18 14:10:02 +01:00
86a38980e4 c++20. clock chrono API. STL + format
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2023-11-10 17:57:26 +03:00
d86059016e Send update dispatcher though FFI 2023-10-24 20:16:50 +02:00
2ff347f9a8 Add handleRelease method to release events
This commit shouldn't change the handleToggle behaviour,
it shouldn't break anything.
2023-08-16 17:14:49 +02:00
1d8331d0c5 Add release events to event map 2023-08-16 17:12:32 +02:00
b5ea14c896 revert: release event 2023-08-16 13:31:24 +02:00
46f5034030 Add button release events to eventMap 2023-08-13 18:20:43 +02:00
ee0958973b Merge branch 'master' into issue-1681 2023-07-04 22:49:35 +02:00
60e0584d16 fix: lint 2023-04-03 09:41:24 +02:00
61a6c00c02 Happy clang 2023-03-02 16:57:32 +03:00
e25a7c9719 ISSUE#1977. AModule implements module actions call
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
2023-02-28 15:32:28 +03:00
f4cfafd238 fix: lint 2023-01-23 09:25:02 +01:00
de77787b60 Allow any module to implement signal handling 2023-01-21 21:57:28 -03:00
38af4a6f16 exec runs after on-* events 2022-11-10 02:36:54 -03:00
061ad13082 Bug: tripple click uses wrong event type 2022-08-06 13:52:00 +03:00
f2fcadbf62 refactor: lint 2022-04-06 08:37:19 +02:00
f4cc088d2f Waybar. Issue#1068. Double/Triple events. Removed unnecessary including 2022-03-29 13:47:38 +03:00
b086e2f995 Waybar. Issue#1068. Double/Triple events 2022-03-29 12:26:05 +03:00
6e7f22ac3a fix: cancel thread and fix window close 2020-05-27 09:10:38 +02:00
358426cb1c fix: No need to format string with unused 'arg' named argument (#484)
The fmt::format() function looks for the "{arg}" named argument
in the given "format" string which does not exist. It will fail
if the string contains any {...} curled-brace substring.

Consequently, any "on-click*" option's command line containing for
instance substring like "${var}" or "awk '{...}'" will crash the program.

Signed-off-by: Thomas Venriès <thomas.venries@gmail.com>
2019-10-16 22:39:45 +02:00
7f13478396 AModule: handle X axis scrolling 2019-06-16 13:17:34 +02:00
90a9c0e25f refactor: get rid of some mutex 2019-06-15 15:01:03 +02:00
340ec7be91 refactor: AModule 2019-06-15 14:57:52 +02:00