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
Josh Jones
1fa1045af9
remove duplicated segment
2024-02-04 16:11:39 +01:00
Josh Jones
e02cb9cfb9
add ordinal format specifier to man clock
2024-02-04 15:49:14 +01:00
Josh Jones
718dd4afae
add ordinal date toolbar format specifier to clock module
2024-02-04 15:41:39 +01:00
Jo De Boeck
c641d52e06
Implement windows formating in sway/workspaces
...
This implementation mimics to some extend the implementation of hyprland
Signed-off-by: Jo De Boeck <deboeck.jo@gmail.com>
2024-02-03 12:31:06 +02: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
ArneshRC
dacffdb095
removed duplicate code
2024-01-19 15:27:11 +05:30
ArneshRC
74e863ed73
updated man waybar-battery
2024-01-19 14:45:49 +05:30
Arnesh Roychowdhury
3de6d2e859
Merge branch 'Alexays:master' into master
2024-01-17 18:29:14 +05:30
Alexis Rouillard
6e12f81223
Merge pull request #2840 from m-bdf/clock-tz-changes
...
clock: fix construction with calendar.format.today
2024-01-17 13:44:28 +01:00
Maëlys Bras de fer
4f0fbaba8e
clock: fix construction with calendar.format.today
2024-01-17 13:30:32 +01:00
Alexis Rouillard
392f83e71d
Merge pull request #2838 from m-bdf/clock-tz-changes
2024-01-16 22:48:31 +01:00
Maëlys Bras de fer
d343f616fc
clock: handle timezone changes (again again)
2024-01-16 21:35:42 +01:00
Arnesh Roychowdhury
8c502378aa
Merge branch 'Alexays:master' into master
2024-01-15 14:24:27 +05:30
Alexis Rouillard
07eabc5328
Merge pull request #2831 from JManch/tray-fix-spacing
...
fix(tray): completely hide tray when it is empty
2024-01-14 16:33:28 +01:00
Joshua Manchester
95ffc291f6
fix: hide tray event box instead of box
2024-01-14 15:06:06 +00:00
zjeffer
8f5d0098d6
Fixed json parsing with hexadecimal characters
...
* replace \x with \u00 to follow JSON spec
* fixes #2475 and #2495
* added unit tests for json parsing
2024-01-14 14:06:06 +01:00
Arnesh Roychowdhury
4eef1ce10f
Merge branch 'Alexays:master' into master
2024-01-13 16:07:11 +05:30
Alexis Rouillard
f744d906be
Merge pull request #2820 from oxalica/feat/systemd-failed-units
...
Add module systemd-failed-units to monitor failed systemd units
2024-01-12 09:45:40 +01:00
Alexis Rouillard
fa3ce14b25
Merge pull request #2817 from Syndelis/fix/window-rewrite-multiple-bars-no-overlap
...
Fix/Hyprland/Workspaces: Window Rewrite on multiple non-overlapping bars
2024-01-12 09:44:03 +01:00