Alexis Rouillard
6fbae3bd7b
Merge pull request #2888 from imran1008/hwmon-path-abs-subdir
...
Search for the first hwmon* directory
2024-02-19 22:53:31 +01:00
Alexis Rouillard
9191cae13b
Merge pull request #2923 from jones-josh/custom-tooltip-format
...
Add check for tooltip-format for custom modules
2024-02-19 22:47:22 +01:00
Alexis Rouillard
a18b6dcc29
Merge pull request #2925 from LukashonakV/bump_cava
...
libcava bump 0.10.1
2024-02-19 22:47:04 +01:00
Alexis Rouillard
c553e3028e
Merge pull request #2928 from zjeffer/fix/zjeffer/build-warnings
...
fix build warning in bar.cpp
2024-02-19 22:41:44 +01:00
zjeffer
a02bacdd53
fix build warning
2024-02-18 12:01:36 +01:00
Viktar Lukashonak
d7d4dca6ba
libcava bump 0.10.1
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com >
2024-02-17 18:20:03 +03:00
Josh Jones
7f3e396383
add tooltip-format to custom module man page
2024-02-16 15:26:36 +01:00
Alexis Rouillard
3cd311819b
Merge pull request #2921 from alebastr/module-classes
...
Add `module` class to the root elements of the modules
2024-02-16 13:34:50 +01:00
Josh Jones
9c3881f6f8
add check for tooltip-format for custom modules
2024-02-16 01:33:04 +01:00
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
Aleksei Bavshin
2f555a6936
refactor(bar): use Gtk enums for position and orientation
...
Ensure that the position and the corresponding CSS class on window are
always set.
2024-02-14 22:11:21 -08:00
Alexis Rouillard
28cd9dff47
Merge pull request #2916 from alttabber/master
...
Add style classes for hyprland/submap
2024-02-13 13:25:23 +01:00
alttabber
77c7b91b40
Add style classes for hyprland/submap
2024-02-13 11:46:27 +01:00
Alexis Rouillard
2c244b5e83
Merge pull request #2912 from zjeffer/fix/zjeffer/build-warnings
...
Fix build warnings
2024-02-12 20:30:58 +01:00
zjeffer
dd8d6fbe6c
Fix build warnings
2024-02-12 20:09:22 +01:00
Alexis Rouillard
4d076a71f7
Merge pull request #2899 from OpenSauce04/battery-full-no-alt
...
Make battery estimate inaccessible in the "Full" state on default config
2024-02-09 10:54:22 +01:00
OpenSauce04
90c2415b64
Battery estimate is no longer accessible in the "Full" state on default config
2024-02-08 15:10:21 +00:00
Alexis Rouillard
b6f4a0dae2
Merge pull request #2881 from jramrath/drawer-direction
...
Fix: drawer not appearing on configured side
2024-02-06 16:18:52 +01:00
Imran Haider
92875711c6
Search for the first hwmon* directory
...
Background and Motivation
-------------------------
When the `hwmon-path-abs` and the `input-filename` fields are used for
the temperature module, we evaluated the following path:
```
[hwmon-path-abs] / [gap] / [input-filename]
```
where `gap` is the first file or directory in the `hwmon-path-abs`
directory. This usually works but it doesn't seem to work for NVME or
WiFi temperature sensors. For those cases, there are a bunch of other
files in the `hwmon-path-abs` directory. In the bad case, the first
selected file is not the one with the prefix `hwmon` and we end up
checking the wrong location for the `input-filename`.
Change description
------------------
We are simply going through the `hwmon-path-abs` directory and searching
for the first file/directory that begins with `hwmon`.
Test case
---------
I tested this on a AMD based Framework 13 laptop.
2024-02-05 21:40:24 -05:00
Jannik
08b32cb901
Removing unnecessary parts of transition_type handling
2024-02-04 16:17:06 +01:00
Jannik
029b380c15
Fix: drawer not appearing on configured side
2024-02-02 20:54:16 +01:00
Alexis Rouillard
4c5ff80bbd
Merge pull request #2874 from Alexays/fix-reload-style
...
fix: reload style
2024-01-31 23:09:54 +01:00
Alex
f1016322b9
fix: tpyo
2024-01-31 22:59:09 +01:00
Alex
6dcae2cade
fix: reload style
2024-01-31 22:57:20 +01:00
Alex
fb6658e8fd
chore: lint
2024-01-30 09:07:37 +01:00
Alexis Rouillard
1dce607c42
Merge pull request #2852 from dpayne/add_css_reload
...
Adding css reloader
2024-01-29 22:44:29 +01:00
dpayne
10cb4180f6
* Fixing clang tidy comments
...
* Fixing missing includes
* Fixing formatting
2024-01-28 14:44:25 -08:00
Alexis Rouillard
5534fc48b1
Merge pull request #2496 from zjeffer/tests/json
...
Fix JSON parsing with hexadecimal characters
2024-01-28 23:38:54 +01:00
dpayne
9556b0fe89
Adding a man page entry for the realod_style_on_change option
2024-01-28 14:25:00 -08:00
Alexis Rouillard
ddad6ce136
Merge pull request #2866 from Jay-716/pa-reconnect
...
pulseaudio: reconnect context when pulseaudio server restarts
2024-01-28 17:04:57 +01:00
Jay-716
14d168c254
pulseaudio: extract context connecting into connectContext()
2024-01-27 23:47:39 +08:00
Jay-716
167f04a4df
pulseaudio: reconnect context when pulseaudio server restarts
...
When pulseaudio server restarts, the context is not reconnect
automatically. So the pulseaudio module will stop updating.
2024-01-25 23:59:32 +08:00
Alexis Rouillard
5f115785cf
Merge pull request #2862 from Sryther/master
...
Move `.empty` CSS class from Img to Box in the Image module
2024-01-25 16:12:02 +01:00
Alexis Rouillard
7caf0b9ec4
Merge pull request #2865 from chntllh/Battery-animations
...
Using steps() in animation to reduce cpu usage.
2024-01-25 16:11:00 +01:00
Paul Rey
94633c346a
retrigger checks
2024-01-25 11:02:44 +01:00
Siddhartha Singh
7e76369ec8
Using steps() in animation
2024-01-25 14:00:21 +05:30
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
Alexis Rouillard
0948a407d0
Merge pull request #2810 from ArneshRC/master
...
feat(battery): added support for battery state-based classes on the entire waybar
2024-01-23 22:45:24 +01:00
Arnesh Roychowdhury
90b5b21394
Merge branch 'Alexays:master' into master
2024-01-24 02:01:17 +05:30
Alexis Rouillard
8e2fa0fdbd
Merge pull request #2859 from Sryther/master
...
Add "empty" class for Image module when path/exec is returning an empty value.
2024-01-23 18:50:50 +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
dpayne
970a7519d4
Merge branch 'master' of github.com:Alexays/Waybar into add_css_reload
2024-01-22 12:40:02 -08:00
Alexis Rouillard
0d9c492998
Merge pull request #2855 from SquishyPandaDev/upower-ptr-fix
...
Fix module UPower display device poniter
2024-01-22 09:49:55 +01:00
SquishyPandaDev
82b632e4ec
Fix module UPower display device poniter
...
Force displayDevice to be a nullptr on class setup
2024-01-22 03:22:19 -05:00
Alexis Rouillard
27fec51439
Merge pull request #2853 from dpayne/fix_use_after_free_on_task_close
2024-01-22 09:01:48 +01:00
dpayne
20fa578b12
Adding config option to enable reloading style on file change
2024-01-21 21:02:01 -08:00
dpayne
f7eca99496
Using Gio::FileMonitor for watching style changes
2024-01-21 20:49:13 -08:00
dpayne
53233e47a3
Fix use after free on task close
2024-01-21 19:08:23 -08:00
dpayne
d7ed4f1fa8
Adding css reloader
2024-01-21 18:23:46 -08:00
ArneshRC
d14a4a2b1a
fixed early dereference error
2024-01-19 16:00:13 +05:30