Commit Graph

15 Commits

Author SHA1 Message Date
Aleksei Bavshin 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
Paul Rey 002ff002fe Move `.empty` CSS class from Img to Box in the Image module
Since the GTK Image is hidden, the CSS class wasn't used for every cases.
2024-01-24 11:10:16 +01:00
Paul Rey 0af8f5c691
Add "empty" class for Image module when path/exec is returning an empty value. 2024-01-23 18:15:47 +01:00
Jo De Boeck 0ea5143493 Pass WAYBAR_OUTPUT_NAME environment variable to custom exec scripts
Signed-off-by: Jo De Boeck <deboeck.jo@gmail.com>
2023-12-19 22:54:12 +02:00
Alan-Kuan 6a17139423
feat: tooltip for image module 2023-04-21 16:38:21 +08:00
Alex ea38eec2af fix: lint 2023-02-09 13:25:39 +01:00
Alex 286a3c70f4
Merge pull request #1978 from kpanuragh/master 2023-02-09 13:25:15 +01:00
Anuragh K P 7b3a6fbaa7 created local variable for _output 2023-01-30 18:35:06 +05:30
Anuragh K P 7554d7f071 Fixing build issue in image module 2023-01-29 19:13:01 +05:30
Anuragh K P 012baadaca added exec condition check on image module 2023-01-29 10:41:24 +05:30
Anuragh K P 9068b7548f for image module get path from executable file 2023-01-25 22:29:33 +05:30
Anuragh K P 1495b957f1 for image module get path from executable file 2023-01-25 22:28:07 +05:30
Brent George c1ceb7ac42 fix linting issues 2023-01-24 14:53:49 -05:00
Brent George e128c48573 image module CSS fix 2023-01-24 14:34:02 -05:00
Jake Stanger a650c7d90c feat: image module
Module which renders an image onto the bar.
2022-01-16 23:55:13 +00:00