986b348bc7
style: Change new variables to camelCase
2024-04-13 13:11:14 +02:00
421ba6e31a
fix: Add dummy information for battery cycles,health on FreeBSD
2024-04-12 18:48:54 +02:00
24690248db
fix: Calculate battery health the right way around
...
I even did this originally, then got confused when my battery in particular showed 102% and, instead of checking the values I calculate with, just decided to do the stupid thing and do maths the wrong around
2024-04-11 02:40:04 +02:00
805faa47e6
style: Remove debug output
...
Oops
2024-04-10 18:48:03 +02:00
a59593fde1
feat(battery): Add {health} format replacement
2024-04-10 18:19:55 +02:00
7f1e623f77
style: Refactor battery cycle count choosing
2024-04-10 17:30:47 +02:00
43511992d9
feat(battery): Add {cycles} format replacement
2024-04-10 17:00:50 +02:00
245043f9e7
taskbar: search user directories first for desktop files
2024-04-01 14:30:31 -04:00
9b4fc6d16b
fix(sway/workspaces): floating_nodes and focused icon
...
Floating nodes are not taken into account for visible and empty workspaces
And fix focused icon (#3095 )
2024-03-31 21:53:56 +07:00
fe15530f34
refactor(privacy): clean up the module
2024-03-25 20:16:47 +01:00
b652b4296d
Merge pull request #3066 from MauroGuida/master
...
fix(sway/workspaces): Visible class doesn't work on visible and empty workspaces
2024-03-25 19:03:06 +01:00
abd7ca2a1e
Fix clock on-scroll value not being used for calendar, which was broken by 86a3898
2024-03-24 10:37:31 -05:00
7cd2a6c003
fix(sway/workspaces): Visible class doesn't work on visible and empty workspaces
2024-03-23 13:02:39 +01:00
cc084f5f86
Merge pull request #3028 from bartelsielski/upower-warning_level
...
Upower warning level
2024-03-22 23:22:56 +01:00
19f3ce6f85
fix: lint
2024-03-22 23:21:57 +01:00
32e241dc47
Merge pull request #2917 from alttabber/master
...
Add always on option for hyprland/submap
2024-03-22 23:21:17 +01:00
c4907a6065
Merge pull request #3005 from eyusupov/dwl-title
...
Add dwl/window module
2024-03-22 23:20:26 +01:00
e30ddda23a
Merge pull request #2987 from tomben13/master
...
[hyprland/workspaces] New options to change on click behaviour and active workspace status
2024-03-22 23:16:57 +01:00
38634a0ca8
Merge pull request #3034 from wispl/master
...
Add empty workspace style for Sway
2024-03-22 23:13:29 +01:00
fe0716bf39
fix: lint
2024-03-22 23:13:10 +01:00
9d95eaaac4
Merge pull request #2919 from tokyovigilante/wireplumber-0.5
...
Update Wireplumber API to 0.5
2024-03-22 23:12:07 +01:00
2326727ccb
Update Wireplumber API to 0.5
...
The WP component loader API has changed to be asynchronous, so implement a (GAsyncReadyCallback)-based loader to manage them. Logging integration change was required for 0.5.0 RCs but not for the 0.5.0 release.
Fix clang-tidy and clang-format warnings. Note these are significantly wider than the changes for 0.5.0 so optional beyond the existing patchset.
2024-03-21 13:37:03 +13:00
c841bf567b
fix(sway/workspaces): visible class doesn't work
2024-03-20 15:03:25 +01:00
6d690ad48b
fix(wlr/taskbar): crash on taskbar drag and drop event
2024-03-20 13:28:35 +01:00
b9688eb067
Merge pull request #3032 from leiserfg/ppd-right-click
...
Make right-click to circle down ppd
2024-03-20 10:34:10 +01:00
cf3389e5d7
Add empty workspace style for Sway
2024-03-19 22:56:20 -04:00
cbe42a8536
Merge pull request #3037 from grimpy/fixperistentclass
...
Fix peristent class on buttons
2024-03-19 22:56:37 +01:00
856a34e16d
Also consider floating nodes when checking for flags
...
Fixes #3030
2024-03-19 11:53:04 +01:00
2ffd9a94a5
Fix peristent class on buttons
...
Fixes : #3009
Signed-off-by: Jo De Boeck <deboeck.jo@gmail.com >
2024-03-19 08:22:33 +02:00
67218d5554
Make right-click to circle down ppd
2024-03-18 21:49:40 +01:00
bbb69bd977
upower: Initialize variables
...
There are code paths in which some of these variables were used but not
initialized, causing undefined behavior.
2024-03-18 20:38:50 +01:00
bd8b215416
upower: Add 'low' and 'critical' CSS classes
...
Add secondary CSS class based on the 'warning_level' field reported by UPower
over D-Bus. This makes it possible to add custom styling when the battery is
near empty.
2024-03-18 20:36:46 +01:00
736309ef1f
Fixed segfault
2024-03-17 23:00:48 +01:00
ca17bdb214
Merge pull request #2968 from jramrath/hyprland_workspaces_monitor_class
...
Hyprland workspaces `hosting-monitor` css class
2024-03-17 13:06:50 +01:00
f014a7d2e5
man docs & different css class name
2024-03-16 21:22:01 +01:00
c5a6299398
fix:dwl tag crash when use wlr-randr enable monitor
2024-03-16 20:10:05 +08:00
01ff7ebb36
Fix clang-format to src/modules/temperature.cpp
2024-03-15 17:12:31 +01:00
fbf66530a3
Explicit convert from std::string to const char*
2024-03-15 16:52:52 +01:00
e1f876b981
Fix fmt::format: missing argument
2024-03-15 16:36:54 +01:00
2d12236726
Use the correct thermal zone in FreeBSD
2024-03-15 16:09:18 +01:00
dcddddd3f1
fix(power-profiles-daemon): correctly set initial visibility
...
The bus error when the daemon is not reachable prevents the initial
update and keeps the module visible, as an empty section on the bar.
Do the update explicitly before connecting to set initial visibility.
While we at it, remove a couple of redundant `update()` calls.
2024-03-14 20:47:07 -07:00
17734f0364
Add dwl/window module
2024-03-14 23:51:46 +03:00
7b3d155608
Fix peristant workspaces for sway
...
Fixes : #2998
Signed-off-by: Jo De Boeck <deboeck.jo@gmail.com >
2024-03-12 04:40:54 +02:00
68889494d0
Removed option active-per-monitor
2024-03-05 11:12:46 +01:00
380607583e
Merge pull request #2971 from picnoir/pic/power-profiles-daemon
...
Introduce a power-profiles-daemon module
2024-03-04 14:25:16 +01:00
df7f1fffcf
feat(hyprland/workspaces): added options move-to-monitor
and active-per-monitor
2024-03-04 13:17:52 +01:00
26af1066e1
Merge pull request #2984 from alebastr/too-much-logs-mpd
...
mpd: less aggressive logging and reconnections
2024-03-03 10:05:22 +01:00
9de0e393ab
Sway-Workspaces: Fixed scrolling not working
...
Fixes regression in bb843e0
that caused scrolling over the bar not working
2024-03-02 23:08:21 +01:00
cc759a8b8f
Power profiles daemon: address review comments
...
Adding :
- A missing try/catch
- Glib::Error catch
- Remove the useless destructor
- Populate the profiles vector more efficiently
- Numerous nits
2024-03-02 18:20:46 +01:00
09bb6a055d
modules/power_profiles_daemon: safely call dbus asynchronously
...
2 changes to address the review feedback:
1. Aleksei pointed out in this
comment (https://github.com/Alexays/Waybar/pull/2971#issuecomment-1972364896 )
that there's no way to tell if a proxy is alive other than trying to
call a method on it. We perform a little dance to check whether or
not power-profiles-daemon is available on the system by calling
properties.GetAll. If something responds, we assume
power-profiles-daemon is installed, it's then safe to draw the
widget and attach the callback to the active profile.
2. We replaced all the synchronous DBus operations by their async
counterparts.
2024-03-01 12:55:37 +01:00