Alex
0fcda9afa5
chore: 0.13.0
2025-06-23 09:10:48 +02:00
Alexis Rouillard
4730fc4d77
Merge pull request #4219 from yuannan/nix_gpsd
...
Added IPC fix and Nix GPS fix
2025-06-22 13:22:19 +01:00
yuannan
2b9601b9a4
added IPC fix and Nix GPS fix
2025-06-22 13:15:18 +01:00
Alexis Rouillard
6a1d89e80d
Merge pull request #4217 from Alexays/revert-2886-feat/upower_bat_bluetooth
...
Revert "Bluetooth module: fetch battery percentage from upower if not found from bluez"
2025-06-22 11:24:41 +01:00
Alexis Rouillard
35d5203b4e
Revert "Bluetooth module: fetch battery percentage from upower if not found from bluez"
2025-06-22 12:24:22 +02:00
Alexis Rouillard
13ed499999
Merge pull request #2886 from levnikmyskin/feat/upower_bat_bluetooth
...
Bluetooth module: fetch battery percentage from upower if not found from bluez
2025-06-22 09:06:42 +01:00
Alexis Rouillard
0c1f1f2df9
Merge pull request #3544 from nktnet1/hyprland/windowcount
...
add Hyprland/windowcount module
2025-06-22 09:03:21 +01:00
Alex
ee91d18ad9
fix: lint
2025-06-22 10:01:36 +02:00
Alexis Rouillard
f27df33280
Merge pull request #3628 from adryzz/gps-module
...
Add GPS module
2025-06-22 08:59:46 +01:00
Alexis Rouillard
ea1ee2c027
Merge pull request #4068 from Rimsoo/patch-1
...
Fixed one layout with multiple variant bug hyprland/language Fixes #3676
2025-06-22 08:59:05 +01:00
Alexis Rouillard
54f7991325
Merge pull request #3762 from cc-nogueira/add_rewrite_to_wlr_tooltip
...
add rewrite to wlr tooltip
2025-06-22 08:58:33 +01:00
Alexis Rouillard
9246297d63
Merge pull request #4113 from Duncaen/niri-workspace-urgency
...
niri: add support for urgency indicators to workspaces
2025-06-22 08:57:57 +01:00
Alexis Rouillard
630f85dcb1
Merge branch 'master' into niri-workspace-urgency
2025-06-22 08:57:49 +01:00
Alexis Rouillard
77b42105a6
Merge pull request #4136 from Roc25/special-centered
...
hyprland workspaces: Add sorting Special Centered
2025-06-22 08:57:12 +01:00
Alex
df138e12c4
fix: compat freebsd
2025-06-22 09:55:57 +02:00
Alex
373fd77f7a
chore: update cross-platform-actions/action
2025-06-22 09:54:46 +02:00
Alexis Rouillard
f5e6e5e9fc
Merge pull request #3863 from yamader/wayfire
...
add module wayfire/window, wayfire/workspaces
2025-06-22 08:53:23 +01:00
Alexis Rouillard
a88e5795a4
Merge branch 'master' into wayfire
2025-06-22 08:53:02 +01:00
Alexis Rouillard
e9d0f2254d
Merge pull request #1784 from ruanformigoni/issue-1681
...
exec runs after on-* events
2025-06-22 08:50:48 +01:00
Alexis Rouillard
71c6c6032b
Merge pull request #4133 from Roc25/persistent-only
...
Add persistent-only setting for hyprland/workspaces
2025-06-22 08:50:33 +01:00
Alexis Rouillard
780e96bd78
Merge pull request #4131 from belcaik/master
...
Add support for mouse side buttons (back/forward) to control track navigation in mpris module
2025-06-22 08:45:41 +01:00
Alexis Rouillard
a563a3fceb
Merge pull request #4127 from iostapyshyn/master
...
niri/workspaces: Add empty icon
2025-06-22 08:45:13 +01:00
Alex
286cff2e3d
fix: lint
2025-06-22 09:44:35 +02:00
Alexis Rouillard
cbdbc492bb
Merge pull request #4097 from RobertMueller2/sway-window-marks
...
feat: sway/window: provide {marks} format replacement
2025-06-22 08:43:27 +01:00
Alexis Rouillard
d6b6158ae9
Update custom.cpp
2025-06-22 09:42:14 +02:00
Alexis Rouillard
f314150736
Merge branch 'master' into issue-1681
2025-06-22 08:41:15 +01:00
Alexis Rouillard
6206cebd75
Merge pull request #3887 from torstehu/fix-typo
...
Fix typos in function, variable names and in documentation
2025-06-22 08:39:23 +01:00
Alexis Rouillard
0cae53747e
Merge pull request #3881 from TripleTrable/AModules/fix-expand-fill-no-center
...
Fixes: Add stretching of modules and modules-center toggling
2025-06-22 08:38:08 +01:00
Alexis Rouillard
249b452829
Merge pull request #4040 from coreydoughty/hypr-submap-patch
...
hyprland/submap: allow pango markup.
2025-06-22 08:33:53 +01:00
Alexis Rouillard
bfedb7c446
Merge pull request #4155 from Yutsuten/fix/wide-char-calendar
...
Fix calendar extra padding if there are wide characters
2025-06-22 08:32:50 +01:00
Alexis Rouillard
9ca04ee2fd
Merge pull request #4048 from LiterallyVoid/literallyvoid/fix-4047-deadlock
...
Fix signal safety deadlock
2025-06-22 08:32:36 +01:00
Alexis Rouillard
eea9561525
Merge pull request #4092 from RobertMueller2/issue_3981
...
Issue 3981: try and fix memory leak in privacy module
2025-06-22 08:31:06 +01:00
Alexis Rouillard
bef539e4de
Update privacy_item.cpp
2025-06-22 09:30:46 +02:00
Alexis Rouillard
456c3add4a
Merge pull request #4102 from edwin0cheng/style-sym
...
Use load_symbolic for gtk icon to support styling in tray icon
2025-06-22 08:29:42 +01:00
Alexis Rouillard
a48116799a
Merge pull request #4088 from Alexays/update_flake_lock_action
...
flake.lock: Update
2025-06-22 08:27:57 +01:00
Alexis Rouillard
74a6726f4f
Merge pull request #4096 from aereaux/idle_docs
...
Add idle_inhibitor style docs.
2025-06-22 08:27:37 +01:00
Alexis Rouillard
3d00c4bed4
Merge pull request #4160 from davidemanini/icon-label
...
AIconLabel.cpp: honour "rotation" property and add "swap-icon-label" propery
2025-06-22 08:27:07 +01:00
Alexis Rouillard
d8218a301d
Merge pull request #4095 from Fengerros/patch-1
...
Update mediaplayer.py - Fix artist name display in mediaplayer.py
2025-06-22 08:26:37 +01:00
Alexis Rouillard
44a8910022
Merge pull request #4173 from S0nter/master
...
privacy: ignore some streams
2025-06-22 08:24:22 +01:00
Alexis Rouillard
341e39fbcf
Merge pull request #4210 from stkth/feat/display-systemd-system-state
...
Feat/display systemd system state
2025-06-22 08:24:04 +01:00
Alexis Rouillard
7b9db134dd
Merge pull request #4207 from markx86/fix/mpris
...
fix: MPRIS widget not hiding when no player is active
2025-06-22 08:23:09 +01:00
Alexis Rouillard
7d5905b38c
Merge pull request #4204 from stkth/feat/add-swap-state-to-memory-module
...
modules: memory: Add swapState format argument
2025-06-22 08:22:36 +01:00
Alexis Rouillard
5a013bdba0
Merge pull request #4209 from notpeelz/fix-formatting
...
Fix CI clang-format
2025-06-22 08:21:38 +01:00
Alexis Rouillard
ae777c65a6
Merge pull request #4212 from notpeelz/fix-namespace-pollution
...
Fix namespace pollution
2025-06-22 08:21:24 +01:00
Alexis Rouillard
103487f672
Merge pull request #4213 from notpeelz/fix-missing-cxx20-chrono-literals
...
fix: don't use c++20 chrono literals
2025-06-22 08:21:01 +01:00
Alexis Rouillard
3c197811e2
Merge pull request #4214 from notpeelz/bump-freebsd-14-3
...
ci: bump FreeBSD to 14.3
2025-06-22 08:20:48 +01:00
peelz
0bdea1e46f
ci: bump FreeBSD to 14.3
2025-06-22 01:02:53 -04:00
peelz
8daaad1e13
fix: don't use c++20 chrono literals
...
Unfortunately we can't use these yet because the freebsd build (clang)
still uses HowardHinnant/date, which doesn't provide literal suffixes.
2025-06-22 00:56:56 -04:00
peelz
25f432b0ce
refactor: avoid Gio namespace pollution
2025-06-22 00:50:25 -04:00
peelz
e4dd2ecc5a
refactor: avoid namespace pollution in util/date.hpp
2025-06-22 00:50:25 -04:00
Alexis Rouillard
a40c53bd5d
Merge pull request #4211 from notpeelz/fix-ci-gentoo
2025-06-22 00:43:11 +01:00
peelz
84bd0d452e
ci: run the docker workflow monthly instead of daily
...
Rebuilding the gentoo docker image daily is most definitely going to
bust through the free CI tier limits.
2025-06-21 16:05:00 -04:00
peelz
d4f61ad271
ci: allow manual triggering of docker workflow
2025-06-21 16:05:00 -04:00
peelz
c6fceb03c8
ci: relax gentoo gtkmm dependency requirement
2025-06-21 16:05:00 -04:00
Steffen Kothe
cfb47790ad
modules: systemd_failed_units: Introduce systemd state variables
...
Systemd provides the status of a given user and system session as a
human readable string.
Retrieve this information via RequestSystemState and guard the
retrieve of failed units depending on this request.
The functionality is extended but does not change, which means that
failed units in any granularity are displayed as before.
Update documentation in the meantime.
Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net >
2025-06-21 16:53:12 +00:00
Steffen Kothe
d5e3a9f894
modules: systemd_failed_units: Enforce visibility of event box on every update
...
Instead if guarding visibility in if condition, enforce visibility
regardless of the state of the current update.
Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net >
2025-06-21 16:51:13 +00:00
Steffen Kothe
0731117679
modules: systemd_failed_units: Introduce RequestFailedUnits member
...
Split-out request of failed units from systemd into a separate member
function.
This increases the readability and extendability, but preserves the
current functionality (non-functional change).
Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net >
2025-06-21 16:51:13 +00:00
Steffen Kothe
4bb06b86bc
modules: systemd_failed_units: Use explicit g_variant_get_uint32
...
Determining of failed units can be done by usage of explicit uint32
function with direct return due to auto lambda expression.
Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net >
2025-06-21 16:47:27 +00:00
Steffen Kothe
74255d0c7e
modules: systemd_failed_units: Move DBUS proxy check into lambda function
...
Checking for the availability of a given proxy member can be done in the
lambda function as well.
Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net >
2025-06-21 16:47:25 +00:00
Steffen Kothe
5c2cf4c65c
modules: systemd_failed_units: Fail early if state did not change
...
Prefer early exit if last status matches the current status.
Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net >
2025-06-21 16:47:07 +00:00
Steffen Kothe
dcbbe3bb97
modules: systemd_failed_units: Move nr_failed calculation to updateData
...
Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net >
2025-06-21 16:46:06 +00:00
Steffen Kothe
37a6106d3e
modules: systemd_failed_units: Introduce nr_failed as member
...
Keeping nr_failed as member allows to split-out calculation of overall
failed units into updateData.
Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net >
2025-06-21 15:17:59 +00:00
peelz
b8a985d606
style: fix formatting
2025-06-21 10:54:16 -04:00
Sonter
8f35dc17b8
Merge branch 'Alexays:master' into master
2025-06-20 18:30:56 +00:00
Alexis Rouillard
dfbf1ff2a0
Merge pull request #4154 from VannTen/fix/service_file_description
...
Fix Description= in systemd service file
2025-06-20 16:15:30 +01:00
Alexis Rouillard
93d85a0cea
Merge pull request #4190 from notpeelz/fix-network-rfkill-update
...
fix: network module not displaying rfkill state
2025-06-20 16:14:38 +01:00
Alexis Rouillard
3abbdb849d
Merge pull request #4191 from notpeelz/fix-length-error-output-description
...
fix: length_error thrown in handleOutputDescription
2025-06-20 16:14:22 +01:00
Alexis Rouillard
7da053f1bd
Merge pull request #4205 from stkth/feat/use-debian-slim-for-container
...
Dockerfiles: Use debian-slim for container
2025-06-20 16:13:43 +01:00
Sonter
2f6f9620d2
Merge branch 'Alexays:master' into master
2025-06-20 14:32:05 +00:00
markx86
c266befe0a
fix: MPRIS widget not hiding when no player is active
2025-06-20 14:02:01 +02:00
Steffen Kothe
76d0b44214
Dockerfiles: Use debian-slim for container
...
Slim images of Debian tend to be smaller even during development. Hence
replace the full-fledged variant with the slim one.
Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net >
2025-06-19 18:59:15 +00:00
Steffen Kothe
bdcab011ee
modules: memory: Add swapState format argument
...
Add an argument to the memory module which displays the state of the
swap configuration of the local system.
Usage of swap does not necessarily indicate if swap is on or off.
Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net >
2025-06-19 18:44:31 +00:00
Alexis Rouillard
f8f795ac38
Merge pull request #4202 from markx86/master
...
fix: `cldMonShift_` not getting initialized in `Clock()` constructor
2025-06-19 07:35:28 +01:00
markx86
af9d61fa8f
fix: cldMonShift_ not getting initialized in Clock() constructor
...
Initialize `cldMonShift_` member in the `clock` module constructor. This
fixes a bug where the calendar tooltip would break after a reload, when
in month mode.
2025-06-19 00:35:54 +02:00
peelz
bd28bb959f
fix: use spdlog in zxdg_output_v1_listener callbacks
2025-06-13 22:57:31 -04:00
peelz
f4496c9648
fix: length_error thrown in handleOutputDescription
2025-06-13 22:51:03 -04:00
peelz
07468357f4
fix: network module not displaying rfkill state
2025-06-13 21:40:18 -04:00
Alexis Rouillard
2c482a2917
Merge pull request #4189 from notpeelz/fix-man-network-frequency
2025-06-13 08:32:27 +02:00
peelz
5e14698b4e
fix: network frequency is reported in GHz
2025-06-12 17:01:10 -04:00
Alexis Rouillard
250f58eed6
Merge pull request #4183 from Talbrelliles/custom-module-memory-fix
...
Memory Fix for continuous scripts in custom module
2025-06-11 13:18:23 +02:00
Taimase
3ebf2d96e5
fix continuousWorker in the custom module by capturing the buffer by reference.
2025-06-11 01:12:08 -06:00
Sonter
4d9403601a
privacy: format with clang-format
2025-06-08 12:53:46 +03:00
Sonter
f73d26722c
privacy: add example configuration
2025-06-08 12:39:10 +03:00
Gregor Kleen
6cfaf4ff63
privacy: document ignore options
2025-06-08 12:23:50 +03:00
Gregor Kleen
831602a913
privacy: default to ignoring all stream.monitor pw nodes
2025-06-08 12:23:50 +03:00
Gregor Kleen
703be13b00
privacy: introduce ignore option
2025-06-08 12:23:50 +03:00
Дмитрий
fca159ad01
Update man page
...
Co-authored-by: Tuur Vanhoutte <4633209+zjeffer@users.noreply.github.com >
2025-06-07 12:19:13 +03:00
gred
35c6e9c21c
Update man page
2025-06-07 11:23:19 +03:00
gred
b36a283f83
Update man
2025-06-07 11:06:06 +03:00
gred
715503ec3e
Rename vector to hiddenWorkspaces
2025-06-07 10:50:29 +03:00
Davide Manini
c26978eca8
Update documentation
2025-06-03 14:54:41 +03:00
Davide Manini
34484919d6
AIconLabel: honour rotation' option; add swap-icon-label' option
2025-06-03 14:54:41 +03:00
Mateus Eto
05cfd73804
Fix calendar extra padding if there are wide characters
2025-06-01 21:43:43 +09:00
github-actions[bot]
c0e7aad60e
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-compat':
'github:edolstra/flake-compat/ff81ac966bb2cae68946d5ed5fc4994f96d0ffec?narHash=sha256-NeCCThCEP3eCl2l/%2B27kNNK7QrwZB1IJCrXfrbv5oqU%3D' (2024-12-04)
→ 'github:edolstra/flake-compat/9100a0f413b0c601e0533d1d94ffd501ce2e7885?narHash=sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX%2BfjA8Xf8PUmqCY%3D' (2025-05-12)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7?narHash=sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo%3D' (2025-04-23)
→ 'github:NixOS/nixpkgs/96ec055edbe5ee227f28cdbc3f1ddf1df5965102?narHash=sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg%3D' (2025-05-28)
2025-06-01 00:14:43 +00:00
Max Gautier
d53135f834
Fix Description= in systemd service file
...
Description= should be a noun phrase, and not a full sentence, according
to man 5 systemd.unit.
In particular, using a dot at the end result in messages like this in
journalctl when running as a user service (not the superfluous dot at
the end):
May 31 16:03:38 framework systemd[1180]: Started Highly customizable Wayland bar for Sway and Wlroots based compositors..
May 31 16:20:39 framework systemd[1180]: Stopping Highly customizable Wayland bar for Sway and Wlroots based compositors....
May 31 16:20:39 framework systemd[1180]: Stopped Highly customizable Wayland bar for Sway and Wlroots based compositors..
2025-05-31 23:07:26 +02:00
gred
15f54cd6ef
Fix hidden buttons
2025-05-21 01:38:03 +03:00
gred
24a30b7ffd
Add sorting with centered special workspaces
2025-05-21 01:01:23 +03:00
gred
4f55d7da90
Add persistent-only setting for hyprland/workspaces
2025-05-20 23:00:09 +03:00
belcaik
7613069a40
Merge pull request #1 from belcaik/feature/mpris-fordward-backward-handle
...
Add mouse navigation support for side buttons in Mpris
2025-05-19 23:25:31 -04:00
belcaik
d41a664779
refactor: use command pattern for button actions
2025-05-19 23:12:42 -04:00
belcaik
cdf3ca910d
feat: Add support for side buttons mouse navigation in handleToggle
...
mapped buttons config on-click-backward and on-click-forward on mpris module to previous/next handle
GTK codes are 9 and 8
2025-05-19 22:52:01 -04:00
Illia Ostapyshyn
19d2430516
niri/workspaces: Add empty icon
2025-05-19 23:01:19 +02:00
Duncan Overbruck
47e0f42523
niri: add support for urgency indicators to workspaces
2025-05-14 20:33:11 +02:00
Khiet Tam Nguyen
6319569ed0
Merge branch 'Alexays:master' into hyprland/windowcount
2025-05-09 20:46:00 +10:00
Edwin Cheng
0340760e12
Use load_symbolic for gtk icon instead of load_icon.
2025-05-07 16:57:54 +08:00
Rene D. Obermueller
f4b68f41e6
feat: sway/window: provide {marks} format replacement
2025-05-04 07:50:28 +02:00
Aidan Epstein
7b5206128c
Add idle_inhibitor style docs.
2025-05-03 10:41:07 -07:00
Fengerros
9bf8c8277a
Update mediaplayer.py - Fix artist name display in mediaplayer.py
...
Fixed an issue where artist names like Earth, Wind & Fire were not displayed correctly. The change ensures that artist names containing commas or special characters are now shown properly.
2025-05-03 15:52:05 +02:00
Rene D. Obermueller
ff4ed82693
memory leak: 2nd attempt
2025-05-03 11:29:53 +02:00
Rene D. Obermueller
72184b2205
Issue 3981: try and fix memory leak
2025-05-02 10:01:09 +02:00
Rimsoo
afeea62214
fixes #3676 including #3224
2025-04-24 23:32:47 +02:00
Alexis Rouillard
0332d2ebf8
Merge pull request #4046 from ebeem/sway-workspace-current-not-shown-fix
...
Sway Workspace: Fix workspace button not showing for tabbed/nested layouts
2025-04-24 11:32:56 +02:00
Alexis Rouillard
7cbdce5064
Merge pull request #4075 from Alexays/update_flake_lock_action
...
flake.lock: Update
2025-04-24 11:30:08 +02:00
github-actions[bot]
ba8ea3d952
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/52faf482a3889b7619003c0daec593a1912fddc1?narHash=sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om%2BD4UnDhlDW9BE%3D' (2025-03-30)
→ 'github:NixOS/nixpkgs/8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7?narHash=sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo%3D' (2025-04-23)
2025-04-24 09:29:40 +00:00
Alexis Rouillard
8b48982bf6
Merge pull request #4032 from RobertMueller2/issue_3974
...
wireplumber: fix potential nullpointer deref
2025-04-24 11:28:56 +02:00
Alexis Rouillard
5382a09db0
Merge pull request #4025 from khaneliman/format
...
flake.nix: add treefmt; treewide: clang and nix format
2025-04-24 11:28:11 +02:00
Rimsoo
20642f47df
Fixed variant bug
2025-04-22 11:41:45 +02:00
Lena
d0c6e91094
gps: add rfkill support
2025-04-18 22:56:47 +02:00
Lena
956e39d3d3
make gpsd receiver not poll
2025-04-18 22:56:47 +02:00
Lena
22ec8e0770
fix factory copy&paste typo
2025-04-18 22:56:47 +02:00
Lena
d331331b76
add manpage
2025-04-18 22:56:47 +02:00
Lena
dfa40d6a00
add all arguments
2025-04-18 22:56:47 +02:00
Lena
45ebf45343
Start GPS module
2025-04-18 22:56:36 +02:00
Austin Horstman
55f52c3457
treewide: clang and nix format
2025-04-15 14:56:28 -05:00
Austin Horstman
5c48373cfe
flake.nix: add treefmt formatter
...
Easier to format everything properly.
2025-04-15 14:56:05 -05:00
Alexis Rouillard
c8484ebb1d
Merge pull request #4058 from khaneliman/cava
2025-04-15 20:28:12 +02:00
Austin Horstman
bf4f3ab064
nix: cava bump
2025-04-15 12:06:41 -05:00
Alexis Rouillard
913e0665e7
Merge pull request #4056 from LukashonakV/cavaBump
2025-04-15 17:04:04 +02:00
Viktar Lukashonak
e85025f805
libCava bump: 0.10.4
2025-04-15 16:33:07 +03:00
literallyvoid
517eb7651e
Run clang-format on main.cpp
2025-04-14 12:31:23 -07:00
Alexis Rouillard
67272cc47f
Merge pull request #4042 from clemenscodes/wlr-taskbar-icon-title-fallback
...
wlr/taskbar: find icon by title as fallback
2025-04-14 20:53:06 +02:00
Alexis Rouillard
1dfde583df
Merge pull request #4045 from khaneliman/pulse
...
audio_backend: fix crash
2025-04-14 20:52:45 +02:00
Alexis Rouillard
3e16c3f74e
Merge pull request #4052 from AOSC-Tracking/aosc/v0.12.0
2025-04-14 08:34:57 +02:00
Kaiyang Wu
252e4f78bf
fix: support libcava 0.10.4
...
Signed-off-by: Kaiyang Wu <self@origincode.me >
2025-04-13 22:23:40 -07:00
literallyvoid
dbd3ffd732
Convert reload to a local
2025-04-12 17:54:10 -07:00
literallyvoid
97591c825a
Remove signalThread and move reaping to catchSignals
2025-04-12 17:52:37 -07:00
literallyvoid
b03ecb3d74
Move signal handling to main thread
2025-04-12 17:52:37 -07:00
Almarhoon Ibraheem
7e845f506e
sway workspace: fix workspace button not shown in nested layouts
2025-04-12 18:31:34 +03:00
Austin Horstman
afb1ee5422
audio_backend: fix crash
...
Getting crashes when called before we have proper information.
2025-04-11 14:53:47 -05:00
Corey Doughty
682492f7a9
This commit fixes #4023
2025-04-10 07:05:45 -04:00
Corey Doughty
633bf9e00f
Hyprland submap allow pango markup.
2025-04-10 06:56:00 -04:00
Clemens Horn
addf44d945
test
2025-04-07 20:51:35 +02:00
Clemens Horn
e92b0a86b5
wlr/taskbar: find icon by title as fallback
2025-04-07 20:33:18 +02:00
Rene D. Obermueller
9ca52a48c8
wireplumber: fix potential nullpointer deref
2025-04-06 09:46:06 +02:00
Alexis Rouillard
056295cbc6
Merge pull request #4026 from khaneliman/workflows
...
.github/workflows/clang-format: bump github action (fix clang-format check)
2025-04-04 10:20:16 +02:00
Alexis Rouillard
80669f7134
Merge pull request #4024 from khaneliman/hyprland-crash
2025-04-04 08:34:13 +02:00
Austin Horstman
5ff6b0ad0f
.github/workflows: tweak job names
...
They didn't seem to correspond to the workflow, properly. Making
triggering them locally weird.
2025-04-04 00:04:51 -05:00
Austin Horstman
84162ec604
.github/workflows/clang-format: bump github action
2025-04-04 00:04:51 -05:00
Austin Horstman
91ef6e51ed
hyprland/workspaces: range find lint cleanup
2025-04-03 23:31:18 -05:00
Austin Horstman
c5bc3bc59a
hyprland/workspaces: fix crash
2025-04-03 23:31:14 -05:00
Alexis Rouillard
569445f8b3
Merge pull request #4017 from RobertMueller2/issue_4015
...
fix manpage for backlight/slider
2025-04-01 13:38:25 +02:00
Alexis Rouillard
eb254db867
Merge pull request #4018 from Alexays/update_flake_lock_action
...
flake.lock: Update
2025-04-01 13:38:15 +02:00
github-actions[bot]
c0b8c4d468
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5135c59491985879812717f4c9fea69604e7f26f?narHash=sha256-Vr3Qi346M%2B8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic%3D' (2025-02-26)
→ 'github:NixOS/nixpkgs/52faf482a3889b7619003c0daec593a1912fddc1?narHash=sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om%2BD4UnDhlDW9BE%3D' (2025-03-30)
2025-04-01 00:12:37 +00:00
Rene D. Obermueller
9d2b137594
fix manpage for backlight/slider
2025-03-31 18:36:12 +02:00
Alexis Rouillard
4a8d527dd5
Merge pull request #3921 from bpandreotti/vertical-privacy
...
Add support for vertical orientation in privacy module
2025-03-28 09:52:48 +01:00
Alexis Rouillard
b98e717433
Merge pull request #3941 from ChaosInfinited/features/systray-custom-icons
...
Features/systray custom icons
2025-03-28 09:46:22 +01:00
Alexis Rouillard
fda7abb33d
Merge pull request #3878 from matt-fff/mw/hyprland-events-workspaces-v2
...
Migrate Hyprland workspace events to v2
2025-03-28 09:45:44 +01:00
Alexis Rouillard
9681cfd2e8
Merge pull request #4009 from teatwig/master
...
fix incorrect type for `weeks-pos` in waybar-clock man page
2025-03-28 09:45:19 +01:00
tea
567ae16a68
fix incorrect type for weeks-pos in waybar-clock man page
2025-03-28 09:43:47 +01:00
Alexis Rouillard
2fdfd1028a
Merge pull request #3959 from voiceroy/ip-address-display
...
Provide an option to show ipv4, ipv6 or both
2025-03-28 09:25:44 +01:00
Alexis Rouillard
8476a7dc84
Merge pull request #3970 from khaneliman/nativeinstallcheck
...
nix/default: disable version check
2025-03-28 09:24:43 +01:00
Alexis Rouillard
e74844b8d4
Merge pull request #3961 from Alexays/update_flake_lock_action
...
flake.lock: Update
2025-03-28 09:24:28 +01:00
Alexis Rouillard
a622dfd072
Merge pull request #3969 from LawnGnome/cffi-config-value-json
...
cffi: always return config values as JSON
2025-03-28 09:24:14 +01:00
Alexis Rouillard
775067f2da
Merge pull request #3995 from spectrum70/wip/login-proxy
...
add login-proxy option
2025-03-28 09:23:32 +01:00
Alexis Rouillard
508d3cd3dd
Merge pull request #3638 from RowanLeeder/ISSUE-3092
...
Resolves #3092 Add source support to wireplumber module
2025-03-28 09:23:01 +01:00
Alexis Rouillard
eb2df58f5a
Merge pull request #4002 from lbartoletti/freebsd_temp
...
fix(FreeBSD): Use dev.cpu temperature sysctl
2025-03-24 22:19:40 +01:00
Loïc Bartoletti
4ba1947a50
fix(FreeBSD): Use dev.cpu temperature sysctl
2025-03-24 15:30:57 +01:00
Angelo Dureghello
6fd859c0c4
add login-proxy option
...
There are cases where systemd-logind is not used/running. Result is
that bcklight module will not run.
Add an option that, when set to false, allows backlight module to
work without systemd-logind.
2025-03-22 18:40:47 +01:00
Lars Niesen
8a15cbad5c
Fixes: Add stretching of modules and modules-center toggling
...
Thanks to tmccombs this commit fixes some inconsitencies in #3730 .
These inconsitencies were:
- Fixed the oversight of missing the implementation of expand_center for
center_ and right_
- Removes a last minut printf debugging statment I missed.
2025-03-09 16:15:39 +01:00
Austin Horstman
f631d5eaf9
nix/default: disable version check
...
Downstream added version check, causes this flake to fail building.
2025-03-05 22:44:55 -06:00
Adam Harvey
906170400e
cffi: always return config values as JSON
...
Previously, string JSON values were special cased to be provided as
bare strings, which means that CFFI modules have to either know what
type each value is expected to be, or use a heuristic such as trying to
decode and then treating the value as a string on failure.
Instead, we can always return JSON, and let the downstream consumer
handle deserialising the value into whatever type is expected.
The new behaviour is gated on a new ABI version 2: modules built against
version 1 will continue to get the old behaviour.
2025-03-05 17:11:26 -08:00
Harishankar G
5e4dac1c0a
Newline as a seperator when displaying IPv4 and 6 at the same time
2025-03-05 15:29:21 +05:30
Matthew White
f7b4451564
fix(hyprland): support additional v2 events
2025-03-04 10:23:19 -07:00
Harishankar G
4a6c417ef5
Add format replacements
...
For cidr6, netmask6
2025-03-04 19:09:21 +05:30
github-actions[bot]
9f71de5227
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/9d3ae807ebd2981d593cddd0080856873139aa40?narHash=sha256-NGqpVVxNAHwIicXpgaVqJEJWeyqzoQJ9oc8lnK9%2BWC4%3D' (2025-01-29)
→ 'github:NixOS/nixpkgs/5135c59491985879812717f4c9fea69604e7f26f?narHash=sha256-Vr3Qi346M%2B8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic%3D' (2025-02-26)
2025-03-01 00:11:29 +00:00
Matt White
17cee0d876
feat(hyprland): support workspacev2
2025-02-26 18:56:11 -07:00
Matt White
0c6ca8321c
feat(hyprland): support destroyworkspacev2
2025-02-26 18:56:11 -07:00
Matt White
26a344b131
feat(hyprland): support createworkspacev2
2025-02-26 18:56:11 -07:00
Harishankar G
8bd0285c88
Remove redundant if condition
2025-02-26 16:06:58 +05:30
Harishankar G
212c676251
Provide an option to show ipv4 or ipv6 or both of them
2025-02-26 15:59:33 +05:30
Alex
8490a1d9b9
chore: 0.12.0
2025-02-21 09:04:59 +01:00
Alexis Rouillard
a3ee5f1125
Update clang-format.yml
2025-02-21 09:04:22 +01:00
Alexis Rouillard
0b87af9372
Merge pull request #3922 from hansp27/niri-language-dont-ellipsize
...
turn off ellipsize for niri/language module
2025-02-20 09:11:33 +01:00
Alexis Rouillard
fe3dda4c23
Merge pull request #3932 from rokiden/fix-urgent-special
...
hyprland/workspaces: fixed urgent for special workspaces
2025-02-20 09:11:07 +01:00
Alexis Rouillard
0d8d42573b
Merge pull request #3945 from zjeffer/fix/zjeffer/hyprland-ipc
...
Hyprland IPC improvements
2025-02-20 09:10:26 +01:00
Alexis Rouillard
d098dbbeb0
Merge pull request #3940 from Malix-Labs/patch-1
...
update(docs): link
2025-02-20 09:09:39 +01:00
Alexis Rouillard
533d5de243
Merge pull request #3942 from aruhier/pr_battery_module
...
fix: battery runtime estimation with negative sysfs values
2025-02-20 09:09:28 +01:00
Alexis Rouillard
d3c7ff6525
Merge pull request #3947 from zjeffer/fix/zjeffer/workspacerules-defaultname
...
Fix workspacerules not taking into account defaultName
2025-02-20 09:09:04 +01:00
zjeffer
bcee548f5e
Fix workspacerules not taking into account defaultName
2025-02-20 00:06:05 +01:00
zjeffer
37c6cd42f5
fix freebsd compilation
2025-02-19 21:15:18 +01:00
zjeffer
a4989cedae
formatting
2025-02-19 21:02:59 +01:00
zjeffer
5b8839ab5c
Hyprland IPC improvements
...
Fixes IPC being blocked at shutdown
2025-02-19 20:45:47 +01:00
Anthony Ruhier
4be1f3bf42
fix: battery runtime estimation with negative sysfs values
...
Some drivers (example: qualcomm-battmgr, present on Snapdragon X1
laptops) expose the current_now and power_now values in sysfs as
negative int when the device is discharging, positive when charging.
This breaks the battery runtime estimation in Waybar, as it expects a
uint32 for power_now.
Change the battery module to use the absolute values of current_now and
power_now.
2025-02-16 18:33:03 +01:00
Kaosu
ddf5b3e07b
add tray icons docs
2025-02-16 14:30:08 +01:00
Kaosu
d1998de47a
add setCustomIcon and try to apply such when ID is known
2025-02-16 14:22:10 +01:00
Kaosu
78d5c3ef3a
init custom icons from config per tray
2025-02-16 14:21:34 +01:00
Kaosu
937b62ea9a
add SNI custom icon manager
2025-02-16 14:21:08 +01:00
Malix
6c4f0af2fe
update(docs): link
2025-02-15 20:33:53 +01:00
Denis Kazimirov
cc94278c4e
hyprland/workspaces: fixed urgent for special workspaces
2025-02-10 18:32:57 +05:00
hansi
0abb2166a4
turn off ellipsize for niri/language module
2025-02-08 00:29:09 +04:00
Bruno Andreotti
a26ed50d0f
Add support for vertical bars in privacy module
2025-02-07 14:39:07 -03:00
Alexis Rouillard
c32d5e3883
Merge pull request #3898 from Duckulus/master
...
[hyprland/window] enable tooltip for hyprland window module
2025-02-05 11:44:28 +01:00
Alexis Rouillard
834868e0b5
Merge pull request #3914 from Alexays/update_flake_lock_action
...
flake.lock: Update
2025-02-05 09:34:43 +01:00
Alexis Rouillard
b2d11f9ec0
Merge pull request #3919 from KasyanDiGris/master
...
Hide upower module when specified device disconnected
2025-02-05 09:34:16 +01:00
Konstantin Vukolov
e32a678478
Hide upower module when specified device disconnected
2025-02-05 00:02:29 +03:00
Alexis Rouillard
0d5a4f82ec
Merge pull request #3913 from ladenburger/fix-json-hyprland-kb-manpage
...
fix: JSON format for Hyprland keyboard example
2025-02-01 09:42:15 +01:00
github-actions[bot]
8bdb5c1906
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29)
→ 'github:NixOS/nixpkgs/9d3ae807ebd2981d593cddd0080856873139aa40?narHash=sha256-NGqpVVxNAHwIicXpgaVqJEJWeyqzoQJ9oc8lnK9%2BWC4%3D' (2025-01-29)
2025-02-01 00:10:55 +00:00
ladenburger
8a741f6ec7
fix: JSON format for Hyprland keyboard example
2025-02-01 00:38:52 +01:00
Alex
481b01d9af
fix: lint
2025-01-25 09:31:32 +01:00
Alexis Rouillard
90911a15b6
Merge pull request #3902 from Alexays/revert-3474-battery-plugging-instant-updates
...
Revert "Make battery module update on plugging/unplugging again (refs #2519 )"
2025-01-25 09:24:57 +01:00
Alexis Rouillard
bb2c67ebad
Revert "Make battery module update on plugging/unplugging again (refs #2519 )"
2025-01-25 09:24:48 +01:00
Alexis Rouillard
dc64b3542b
Merge pull request #3474 from schmop/battery-plugging-instant-updates
...
Make battery module update on plugging/unplugging again (refs #2519 )
2025-01-25 09:20:02 +01:00
Duckulus
ba12ca71c0
enable tooltip for hyprland window module
2025-01-22 18:39:50 +01:00
Torstein Husebø
6004316f1a
Fix typos in function, variable names and in documentation
2025-01-16 13:25:19 +01:00
Khiet Tam Nguyen
36a1c89e30
Merge branch 'Alexays:master' into hyprland/windowcount
2025-01-13 10:33:05 +11:00
Alexis Rouillard
a4241d7008
Merge pull request #3823 from thetwistedlogic/feature/river-hide-vacant
...
Hide vacant tags config option on River
2025-01-12 11:32:45 +01:00
Alexis Rouillard
ab0acd07fe
Merge pull request #3862 from emar10/config-include-wildcards
...
Allow using wildcards in config include paths
2025-01-12 11:29:26 +01:00
Alexis Rouillard
4ec121822a
Merge pull request #3877 from pol-rivero/tray-tooltip
...
Escape tray tooltip text
2025-01-12 11:27:57 +01:00
Pol Rivero
0992bf1b87
Escape tray tooltip text
...
Fix errors when the tooltip set by the tray apps contains markup characters
2025-01-10 16:41:33 +01:00
Alexis Rouillard
369c81d6f2
Merge pull request #3875 from alexlnkp/master
...
fix: never sleep cava when sleep_timer is 0
2025-01-10 09:34:00 +01:00
Alex Murkoff
6a29abb49e
fix: never sleep cava when sleep_timer is 0
2025-01-10 15:27:41 +07:00
Alexis Rouillard
9d9f1d6819
Merge pull request #3866 from AngryLoki/libcxx
...
Fix compilation with libc++
2025-01-04 15:38:23 +01:00
Sv. Lockal
865121b21d
Fix compilation with libc++
...
This file uses std::sort and does not import correct header.
Compilation with libstdc++ worked due to some indirect import, but compilation with LLVM libc++ fails.
2025-01-04 10:28:14 +00:00
YamaD
d7e4a7d91f
add module wayfire/window, wayfire/workspaces
2025-01-03 15:22:46 +09:00
Ethan Martin
d1dac2854a
Allow using wildcards in config include paths
...
Updates `Config::tryExpandPath()` to return a vector of expanded path
matches instead of a single path wrapped in an optional, with an empty
vector indicating no matches.
`Config::resolveConfigIncludes()` iterates over all of these matches,
while other instances of path expansion (such as finding the base config
path) retain their existing behavior and only use the first match.
2025-01-02 20:50:39 -05:00
Khiet Tam Nguyen
565602114e
Merge branch 'Alexays:master' into hyprland/windowcount
2025-01-03 12:18:38 +11:00
Alexis Rouillard
ac08b752e3
Merge pull request #3859 from Alexays/update_flake_lock_action
...
flake.lock: Update
2025-01-01 14:19:17 +01:00
Alexis Rouillard
fe2f847e6d
Merge pull request #3860 from JasonnnW3000/master
...
Update LICENSE, fix copyright license year
2025-01-01 14:19:08 +01:00
JasonnnW3000
3555417a4f
Update LICENSE, fix license year
...
Signed-off-by: JasonnnW3000 <sufssl04@gmail.com >
2025-01-01 06:34:11 -05:00
github-actions[bot]
884550964e
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-compat':
'github:edolstra/flake-compat/9ed2ac151eada2306ca8c418ebd97807bb08f6ac?narHash=sha256-HRJ/18p%2BWoXpWJkcdsk9St5ZiukCqSDgbOGFa8Okehg%3D' (2024-11-27)
→ 'github:edolstra/flake-compat/ff81ac966bb2cae68946d5ed5fc4994f96d0ffec?narHash=sha256-NeCCThCEP3eCl2l/%2B27kNNK7QrwZB1IJCrXfrbv5oqU%3D' (2024-12-04)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/970e93b9f82e2a0f3675757eb0bfc73297cc6370?narHash=sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE%3D' (2024-11-28)
→ 'github:NixOS/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29)
2025-01-01 00:11:33 +00:00
Alexis Rouillard
5346649fc6
Merge pull request #3827 from pope/master
...
Escape markup characters in dwl/window
2024-12-26 09:37:00 +01:00
Alexis Rouillard
6ce881abd5
Merge pull request #3826 from DreamMaoMao/fix-hyprland-window-crash
...
fix: hyprland/window get empty ipc json data
2024-12-26 09:36:33 +01:00
Alexis Rouillard
dbb708c88e
Merge pull request #3831 from c4rlo/sway-fix-config-warning
...
sway: fix "Mapping is not an object" warning
2024-12-26 09:36:07 +01:00
Khiet Tam Nguyen
d29a17d703
Merge branch 'Alexays:master' into hyprland/windowcount
2024-12-22 17:12:54 +11:00
Carlo Teubner
8e276bb3f6
sway: fix "Mapping is not an object" warning
...
Fixes #3763 .
Also a little code simplications while we're at it.
2024-12-17 22:05:16 +00:00
K. Adam Christensen
157ea44510
Escape markup characters in dwl/window
...
Without this, markup characters like [&><] will be injected directly
into the Label. Escaping them makes sure that the values will be printed
exactly as they appear in the window title or layout symbol.
Signed-off-by: K. Adam Christensen <pope@shifteleven.com >
2024-12-14 09:06:13 -08:00
DreamMaoMao
01ae117cfe
fix: hyprland/window get empty ipc json data
2024-12-14 21:02:10 +08:00
twistedlogic
8e0964ad15
feat: is visible and urgent checks as well
2024-12-12 10:11:11 -04:00
twistedlogic
8024df0430
fix: edge case where tags get hidden after all views are killed
...
This fixes an edge case where focused tags would get hidden if all
clients on a tag get killed
2024-12-11 22:50:01 -04:00
twistedlogic
43af1b9ea0
feat: implement hide vacant for river
2024-12-11 22:18:00 -04:00
Alexis Rouillard
e959f1d230
Merge pull request #3808 from Nambers/master
...
Using 'auto' instead of 'self' in backlight module
2024-12-07 09:58:30 +01:00
Alexis Rouillard
347c44209d
Merge pull request #3806 from meithecatte/livelock-fix
...
Add locking for interacting with the pulseaudio thread
2024-12-07 09:56:28 +01:00
Alexis Rouillard
758c14c5d8
Merge pull request #3801 from majutsushi/sway-workspaces-x11-class
...
sway/workspaces: use X11 class for XWayland windows
2024-12-07 09:55:57 +01:00
Alexis Rouillard
78d2ce3791
Merge pull request #3809 from gustafullberg/ipv4ipv6
...
Let network module handle ipv4 and ipv6 simultaneously
2024-12-07 09:55:24 +01:00
Gustaf Ullberg
db943dae98
Let network module handle ipv4 and ipv6 simultaneously
2024-12-05 15:31:40 +01:00
eritque0arcus
6bac784b51
fix: use auto and add self as fallback
2024-12-04 12:46:09 -06:00
Maja Kądziołka
6d28740896
Add locking for interacting with the pulseaudio thread
...
Before this commit, Waybar would sometimes get into a state
where it would consume 100% of a CPU core, and the pulseaudio widget
would stop responding to volume adjustments.
In this state, the pulseaudio mainloop thread would spin, with the
counter of enabled defer events at 1, but no actual enabled defer
event in the list to get the counter back to zero after an iteration
in the mainloop.
This could happen if the unsynchronized interactions with the mainloop
thread happened to modify the list of deferred events at the same
time as the mainloop.
This commit introduces locking in accordance with the PulseAudio
documentation on the threaded mainloop:
> The lock needs to be held whenever you call any PulseAudio function that
> uses an object associated with this main loop. Those objects include
> pa_mainloop, pa_context, pa_stream and pa_operation, and the various event
> objects (pa_io_event, pa_time_event, pa_defer_event).
2024-12-03 19:37:36 +01:00
Alexis Rouillard
3abac0abfd
Merge pull request #3800 from Alexays/update_flake_lock_action
...
flake.lock: Update
2024-12-01 12:03:59 +01:00
github-actions[bot]
0e5728b533
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-compat':
'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33?narHash=sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U%3D' (2023-10-04)
→ 'github:edolstra/flake-compat/9ed2ac151eada2306ca8c418ebd97807bb08f6ac?narHash=sha256-HRJ/18p%2BWoXpWJkcdsk9St5ZiukCqSDgbOGFa8Okehg%3D' (2024-11-27)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/807e9154dcb16384b1b765ebe9cd2bba2ac287fd?narHash=sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU%3D' (2024-10-29)
→ 'github:NixOS/nixpkgs/970e93b9f82e2a0f3675757eb0bfc73297cc6370?narHash=sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE%3D' (2024-11-28)
2024-12-01 00:12:55 +00:00
Jan Larres
4e05659109
sway/workspaces: use X11 class for XWayland windows
...
When using `window-rewrite`, the `class<>` rule would previously only
match against the `app_id` of a window. However, XWayland windows don't
have an app ID.
This change falls back to checking the `class` window property if there
is no app ID to support matching against XWayland windows.
2024-12-01 12:48:07 +13:00
Khiet Tam Nguyen
334fc6e0e4
Merge branch 'Alexays:master' into hyprland/windowcount
2024-11-30 19:37:29 +11:00
Alexis Rouillard
20ca48c3b8
Merge pull request #3768 from deprekated/fix_privacy_null_deref
...
fix null-deref due to unconstructed PrivacyNodeInfo
2024-11-20 09:02:38 +01:00
Alexis Rouillard
b863627c22
Merge pull request #3730 from TripleTrable/AModuls/expand-fill-no-center
...
Add stretching of modules and modules-center toggling
2024-11-20 09:01:33 +01:00
Lars Niesen
1e481b7ac0
fix broken clang-format to run pipeline
2024-11-20 00:00:51 +01:00
Lars Niesen
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
Khiet Tam Nguyen
17d7cea4fd
Merge branch 'Alexays:master' into hyprland/windowcount
2024-11-17 08:37:04 +11:00
Kate Adkins
86ce9f7278
fix null-deref due to unconstructed PrivacyNodeInfo
...
This would cause Waybar to crash if the privacy module ever got
e.g. a empty (but properly null-terminated) string for the
application_name.
2024-11-15 12:32:55 -07:00
Alexis Rouillard
8645115619
Merge pull request #3736 from Alexays/update_flake_lock_action
...
flake.lock: Update
2024-11-13 16:36:28 +01:00
Alexis Rouillard
63edb402ef
Merge pull request #3747 from Aqa-Ib/patch-1
...
fix hyprland's grouped window flags
2024-11-13 15:42:38 +01:00
Ricardo Nogueira
ddb3016440
add rewrite to wlr tooltip
2024-11-12 17:10:05 -03:00
Alexis Rouillard
52d582b93a
Merge pull request #3758 from ArijanJ/signals-in-manpage
2024-11-10 17:28:07 +01:00
ArijanJ
724a4a5ed3
Add signals section to manpage
2024-11-10 12:50:26 +01:00
Aqa-Ib
77b50b4c7a
fix hyprland's grouped window flags
...
Both flags are wrong, because:
- the active group member can be fullscreened.
- technically, a grouped window can be solo as well, because only the active group member is shown, the other members are hidden. Also you can have a group consisting of only one window.
2024-11-06 13:07:09 +00:00
github-actions[bot]
3f80e507fd
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/06cf0e1da4208d3766d898b7fdab6513366d45b9?narHash=sha256-S5kVU7U82LfpEukbn/ihcyNt2%2BEvG7Z5unsKW9H/yFA%3D' (2024-09-29)
→ 'github:NixOS/nixpkgs/807e9154dcb16384b1b765ebe9cd2bba2ac287fd?narHash=sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU%3D' (2024-10-29)
2024-11-01 00:11:22 +00:00
Alexis Rouillard
5f260516af
Merge pull request #3674 from PassiHD2004/master
...
Add warning threshold to temperature module
2024-10-25 08:52:44 +02:00
Alexis Rouillard
9d89ddae9b
Merge pull request #3464 from findus/pulseaudio-default-sink
...
pulseaudio: volume indicator update on default output switch
2024-10-25 08:52:18 +02:00
Blexyel
bb40e169fd
feat: update man page
2024-10-22 10:56:26 +02:00
Alexis Rouillard
dacecb9b26
Merge pull request #3695 from cfillion/fix-hyprland-crashes
...
Fix a crash after handling SIGINT and a data race when initializing the Hyprland workspace modules
2024-10-21 14:58:34 +02:00
Christian Fillion
92242f0b9d
hyprland: fix a data race at startup between sockets 1 and 2
...
`Workspaces::*` and `IPC::startIPC` may both call `getSocketFolder` at the same time.
This randomly causes crashes and/or corruption of the socket path.
Typical crash A:
[2024-10-16 07:42:09.987] [info] Hyprland IPC starting
malloc(): unaligned tcache chunk detected
[2024-10-16 07:42:09.987] [error] Hyprland IPC: Unable to connect?
Thread 1 "waybar" received signal SIGABRT, Aborted.
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
(omitted for brievety)
#9 0x00007ffff64ae745 in operator new (sz=sz@entry=296) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/new_op.cc:50
#10 0x00007ffff65ab1f1 in std::filesystem::__cxx11::path::_List::_Impl::copy (this=0x555555a23350) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++17/fs_path.cc:249
#11 0x00007ffff65ab3bd in std::filesystem::__cxx11::path::_List::_List (this=0x7fffffff9d30, other=<optimized out>) at /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:454
#12 0x00005555556f4ab1 in waybar::modules::hyprland::IPC::getSocket1Reply(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#13 0x00005555556f5e3d in waybar::modules::hyprland::IPC::getSocket1JsonReply(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#14 0x000055555571289c in waybar::modules::hyprland::Workspaces::setCurrentMonitorId() ()
Typical crash B:
[2024-10-16 10:01:15.859] [info] Hyprland IPC starting
[2024-10-16 10:01:15.859] [info] Loading persistent workspaces from Hyprland workspace rules
Thread 8 "waybar" received signal SIGSEGV, Segmentation fault.
(gdb) bt
#0 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy
(__d=0x5555558fbca8 "/", __s=0x2973961a26d35726 <error: Cannot access memory at address 0x2973961a26d35726>, __n=1)
at /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:433
(omitted for brievety)
#15 waybar::modules::hyprland::IPC::getSocketFolder[abi:cxx11](char const*)
(instanceSig=0x7fffffffe604 "4520b30d498daca8079365bdb909a8dea38e8d55_1729051218_1982280648") at ../src/modules/hyprland/backend.cpp:41
#16 0x000055555564230f in waybar::modules::hyprland::IPC::startIPC()::{lambda()#1}::operator()() const ()
at ../src/modules/hyprland/backend.cpp:70
#17 0x00007ffff64e1c34 in std::execute_native_thread_routine (__p=0x5555558119c0) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/thread.cc:104
#18 0x00007ffff62a339d in start_thread (arg=<optimized out>) at pthread_create.c:447
2024-10-17 06:46:07 -04:00
Christian Fillion
0e03c7a811
fix a segfault on signals received after main returns
...
The waybar process does not exit instantaneously.
Signals may be recevied after main has started freeing resources.
When a worker thread is in `fgets` this time window can last forever.
An easy way to duplicate the crash is pressing ^C twice with a Hyprland module.
Thread 1 "waybar" received signal SIGSEGV, Segmentation fault.
spdlog::sinks::sink::should_log (this=0x5f620b542ca5,
msg_level=spdlog::level::info)
at /usr/src/debug/spdlog/spdlog-1.14.1/include/spdlog/sinks/sink-inl.h:13
13 return msg_level >= level_.load(std::memory_order_relaxed);
(gdb) p $_siginfo._sifields._sigfault.si_addr
$1 = (void *) 0x5f620b542cad
2024-10-16 10:04:04 -04:00
PassiHD
6df26ccba7
feat: add warning threshold to temperature module
...
Signed-off-by: PassiHD <passihd@phoenixts.eu >
2024-10-09 20:22:58 +02:00
Khiet Tam Nguyen
278588b1a3
Merge branch 'Alexays:master' into hyprland/windowcount
2024-10-06 00:34:20 +10:00
Alexis Rouillard
280f11e247
Merge pull request #3658 from Alexays/update_flake_lock_action
2024-10-01 07:42:02 +02:00
github-actions[bot]
95eaffcfb1
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4f807e8940284ad7925ebd0a0993d2a1791acb2f?narHash=sha256-IiA3jfbR7K/B5%2B9byVi9BZGWTD4VSbWe8VLpp9B/iYk%3D' (2024-09-11)
→ 'github:NixOS/nixpkgs/06cf0e1da4208d3766d898b7fdab6513366d45b9?narHash=sha256-S5kVU7U82LfpEukbn/ihcyNt2%2BEvG7Z5unsKW9H/yFA%3D' (2024-09-29)
2024-10-01 00:11:21 +00:00
Alexis Rouillard
e7b2d33d99
Merge pull request #3637 from TripleTrable/backlight/add_min_brightness
...
#2275 Backlight: Add minimum brightness
2024-09-30 09:17:15 +02:00
Alexis Rouillard
281911c9b3
Merge pull request #3652 from khaneliman/flake
2024-09-29 09:06:40 +02:00
Austin Horstman
e53497bab6
.github/workflows: allow forks to manually run flake lock update
2024-09-28 13:21:55 -05:00
Alexis Rouillard
a1adf6847f
Merge pull request #3650 from khaneliman/nix
2024-09-28 20:16:12 +02:00
Alexis Rouillard
6322fa28f3
Merge pull request #3651 from khaneliman/github
2024-09-28 20:15:50 +02:00
Austin Horstman
e394485857
.github/workflows: don't run on forks
2024-09-28 12:55:47 -05:00
Austin Horstman
edab49f291
nix/default: cava bump
2024-09-28 12:41:10 -05:00
Alexis Rouillard
486b99c22f
Merge pull request #3646 from LukashonakV/cava_bump
2024-09-28 07:54:57 +02:00
Viktar Lukashonak
e46a1c6bfc
cava bump
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com >
2024-09-28 00:57:02 +03:00
Lars Niesen
d684a6de21
Backlight: Set default to 0 to prevent breaking existing setups
2024-09-25 16:37:21 +02:00
Alexis Rouillard
cad18f39f5
Merge pull request #3640 from mslxl/master
...
nix: remove patches from downstream
2024-09-25 14:18:52 +02:00
Lars Niesen
47f767b0ee
Backlight: Add documentation for min-brightness
2024-09-25 06:24:24 +02:00
Lars Niesen
04bda9f443
Backlight: Add minimum brightness
...
As currently it is possible to turn the brightness to zero which may not
be desirable, this patch add a configurable brightness check.
2024-09-25 06:24:03 +02:00
mslxl
c88a86f510
nix: remove patches from downstream
...
The patches is the modification of downstream, it should not affect upstream. Any changes of upstream would caused patch fail.
2024-09-25 10:01:41 +08:00
Rowan Leeder
2dfef1c213
Issue-3092 Add node type to wireplumber logs
...
- The module only fetches nodes for "node-type". This causes the 'onMixerChanged' log to spam whenever two or more
wireplumber modules were registered on different nodes. To reduce this the unknown node warning will now only print
if the node is not the focus of any current module.
2024-09-25 05:06:15 +10:00
Rowan Leeder
71a53eb79d
Issue-3092 Add source support to wireplumber module
...
- Adds microphone support etc to the wireplumber module.
The existing module hardcodes the selected node type to "Audio/Sink". This feature allows the user to override this
via `"node-type": "Audio/Source"`.
- Unlike the pulseaudio module, this change does not try to see the module manage both input and output. The same effect
can be achieved by running two instances of the wireplumber module.
This approach:
- Works around some of the complexity overhead that seem to have caused similar PRs to stall.
- Using separate module instances also allows both the microphone and speaker levels to be controlled with a scroll
wheel. This is something a unified module like pulseaudio struggles with.
- Similarly, separate instances allows the source volume level to be exposed as the state. Ie- the linear-gradient
css patterns can be applied to both input and output.
2024-09-25 05:03:24 +10:00
Alexis Rouillard
07f75e303c
Merge pull request #3632 from LukashonakV/ISSUE#3383
...
Fix: 3383. Clock. Default value for cldYearShift_ = 1900/01/01
2024-09-23 17:45:03 +02:00
Viktar Lukashonak
b4e97eb2f4
FreeBSD format fix
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com >
2024-09-23 16:06:50 +03:00
Viktar Lukashonak
773b1d4806
Default value for cldYearShift_ = 1900/01/01
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com >
2024-09-23 15:51:01 +03:00
Philipp Hentschel
57156bce7e
removed manual flag from clang format again
2024-09-21 13:25:36 +02:00
Philipp Hentschel
e3095c6d1d
clang-format
2024-09-21 13:25:36 +02:00
Findus
951b89ffcb
Update clang-format.yml
...
workflow dispatch to debug failing workflow manually
2024-09-21 13:25:36 +02:00
Philipp Hentschel
d6bfeb5a44
added is running condition to default_sink_is_running check
2024-09-21 13:25:36 +02:00
Philipp Hentschel
8b1d73690d
added running check to default sink return condition
2024-09-21 13:25:36 +02:00
Philipp Hentschel
9c47b2e9dd
removed debug logging
2024-09-21 13:25:36 +02:00
Philipp Hentschel
dedee8cd14
pulseaudio: show correct sink volume on default output changes
...
on sinkInfo callbacks, the default sink now has highest priority.
That fixes an issue that the volume indicator is not updated when
the changes the default output to another devices.
added PA_SINK_IDLE as valid state. PA_SINK_RUNNING is only true
if any sound output is happening on sink switch. Indicator should
also update when no sound is being played.
2024-09-21 13:25:36 +02:00
Alex
21af48fdc9
chore: lint
2024-09-19 17:31:07 +02:00
Alexis Rouillard
b5395f4e6f
Merge pull request #3523 from S0nter/master
...
cava: Add format_silent option and css triggers
2024-09-19 17:30:34 +02:00
Sonter
3462769fc1
Merge branch 'Alexays:master' into master
2024-09-19 14:45:33 +00:00
Alexis Rouillard
ac1a42291d
Merge pull request #3617 from lukasfink1/fix-custom-format-bug
...
fix(custom): stop mixing manual and automatic arg indexing
2024-09-19 13:50:45 +02:00
Lukas Fink
a3e7031fe2
Fix formatting
2024-09-18 17:30:55 +02:00
Lukas Fink
254111ff91
Improve error message for mixed arg indexing in format string
2024-09-18 17:28:58 +02:00
Lukas Fink
de170fa579
Update documentation
2024-09-17 02:56:38 +02:00
Lukas Fink
83992d29a0
Fix formatting
2024-09-17 00:39:33 +02:00
Lukas Fink
3bb3c2d23f
fix(custom): stop mixing manual and automatic arg indexing
...
The current documentation for the custom module suggests mixing manual
(`{icon}`) and automatic (`{}`) indexing of format args. Newer versions
of the fmt library seem to not support this anymore (see issue #3605 ).
This commit introduces a name for the `text` output of the script, so
that `{text}` can now be used instead of `{}` in the configuration.
2024-09-17 00:13:23 +02:00
Sonter
ff66b5dd57
Update waybar-cava man page
2024-09-16 17:47:10 +00:00
Sonter
9e8ebe668d
Merge branch 'Alexays:master' into master
2024-09-16 17:11:32 +00:00
Alexis Rouillard
9cfb1e38fa
Merge pull request #3528 from alebastr/sway-scene-fixes
...
Fixes for Sway modes and wlr_scene support
2024-09-16 14:44:17 +02:00
Alexis Rouillard
ae997ad73b
Merge pull request #3613 from ThatOneCalculator/fix/3612
2024-09-16 08:09:13 +02:00
Kainoa Kanter
085a1ede97
fix: use app_identifier itself in AAppIconLabel if it's an absolute path
2024-09-15 21:28:15 -03:00
Khiet Tam Nguyen
636ef21f6e
Merge branch 'Alexays:master' into hyprland/windowcount
2024-09-15 18:11:41 +10:00
Alexis Rouillard
0d02f6877d
Merge pull request #3604 from alebastr/tray-fix
2024-09-15 09:04:58 +02:00
github-actions[bot]
e0be3ac178
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/71e91c409d1e654808b2621f28a327acfdad8dc2?narHash=sha256-GnR7/ibgIH1vhoy8cYdmXE6iyZqKqFxQSVkFgosBh6w%3D' (2024-08-28)
→ 'github:NixOS/nixpkgs/4f807e8940284ad7925ebd0a0993d2a1791acb2f?narHash=sha256-IiA3jfbR7K/B5%2B9byVi9BZGWTD4VSbWe8VLpp9B/iYk%3D' (2024-09-11)
2024-09-14 23:09:16 -07:00
Aleksei Bavshin
45fec7bcbb
Revert "change layer for mode invisible to nullopt"
...
Previous commit should have a better workaround for #3211 .
This reverts commit b61ea62732 .
2024-09-14 22:43:07 -07:00
Aleksei Bavshin
7b23d58684
fix(bar): force commit for occluded surfaces
...
All the mode or visibility changes require `wl_surface_commit` to be
applied. gtk-layer-shell will attempt to force GTK to commit, but may
fail if the surface has stopped receiving frame callbacks[^1].
Thus, we could get stuck in a state where the bar is hidden and unable
to regain visibility.
To address this, a new API has been added to gtk-layer-shell,
`gtk_layer_try_force_commit`, which does `wl_surface_commit` with the
necessary safety checks to avoid corrupting GTK internal state.
Note: this change bumps gtk-layer-shell requirement to 0.9.0.
[^1]: https://github.com/wmww/gtk-layer-shell/issues/185
2024-09-14 22:43:06 -07:00
Aleksei Bavshin
0006e4713a
fix(tray): revert ustring formatting changes
...
This reverts commit a4d31ab10d .
2024-09-14 07:38:41 -07:00
Aleksei Bavshin
f60c291b82
chore: update fmt wrap to 11.0.2
2024-09-14 07:36:23 -07:00
Khiet Tam Nguyen
4cb2bf06b7
Merge branch 'Alexays:master' into hyprland/windowcount
2024-09-14 13:42:04 +10:00
Sonter
8e2a742042
Merge branch 'Alexays:master' into master
2024-09-13 11:31:22 +00:00
Aleksei Bavshin
4a6af0da99
fix(bar): use overlay layer for hide and overlay modes
...
This fixes a major inconsistency with the swaybar implementation of
these modes[^1]. `overlay` layer no longer has security implications due
to a wide adoption of `ext-session-lock`, so it's safe to use.
Following config will restore the previous behavior:
```json
"modes": {
"hide": { "layer": "top" },
"overlay": { "layer": "top" }
},
```
[^1]: 2f7247e08a
2024-09-13 01:26:25 -07:00
Alex
d177969f51
chore: lint
2024-09-13 09:53:15 +02:00
Alexis Rouillard
59b7715309
Merge pull request #3580 from hramrach/rotate-doc
...
Clarify documentation of 'rotate' option.
2024-09-13 09:52:59 +02:00
Alex
d56dd6ee7f
chore: v0.11.0
2024-09-13 09:51:11 +02:00
Alex
1142979581
chore: lint
2024-09-13 09:43:19 +02:00
Alexis Rouillard
8a89706d03
Merge pull request #3551 from YaLTeR/niri
...
Add niri/workspaces, niri/window, niri/language
2024-09-13 09:41:52 +02:00
Alex
a4d31ab10d
fix: sni item fmt
2024-09-13 09:40:35 +02:00
Ivan Molodetskikh
34bfefcd2e
niri: Gate behind a meson option
2024-09-13 10:34:55 +03:00
Ivan Molodetskikh
fef0bb995c
niri: Replace gnu extension with GDataInputStream
2024-09-13 10:34:55 +03:00
Ivan Molodetskikh
46e7ed35de
Add niri/workspaces, niri/window, niri/language
2024-09-13 10:34:55 +03:00
Alex
d623a89cd1
fix: sni item fmt
2024-09-13 09:33:40 +02:00
Alexis Rouillard
1210bcd2b5
Merge pull request #3565 from saveman71/hidpi_image_module
...
feat: hidpi support for image module
2024-09-13 09:09:51 +02:00
Alexis Rouillard
30f6ed05ec
Merge pull request #3554 from 3u13r/fix/upower/dont-override-existing-upDevice
...
fix/upower: upower module selection with multiple devices
2024-09-13 09:08:49 +02:00
Alex
3ade275d10
fix: version
2024-09-13 09:02:23 +02:00
Alex
4354da2849
chore: disable fmt tests
2024-09-13 08:59:36 +02:00
Alex
6417782af6
chore: lint
2024-09-13 08:55:14 +02:00
Alex
64d99a5884
chore(fmt): std format
2024-09-13 08:50:12 +02:00
Alexis Rouillard
627e4a4a50
Merge pull request #3555 from Alexays/update_flake_lock_action
...
flake.lock: Update
2024-09-13 08:41:29 +02:00
Alex
c2f1a7894b
chore: update deps
2024-09-13 08:40:25 +02:00
Alexis Rouillard
6560e32bc1
Merge pull request #3585 from eltociear/patch-1
2024-09-10 07:37:16 +02:00
Ikko Eltociear Ashimine
70f3c1d9e9
chore: update power_profiles_daemon.cpp
...
minor fix
2024-09-10 01:16:42 +09:00
Michal Suchanek
5b1826d2f6
label: Add warning for invalid rotate property
2024-09-08 13:57:37 +02:00
Michal Suchanek
1fa8019ad5
man: Clarify rotate option
...
fixes : #3576
2024-09-08 13:56:12 +02:00
github-actions[bot]
7a6960842a
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/52ec9ac3b12395ad677e8b62106f0b98c1f8569d?narHash=sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k%3D' (2024-07-28)
→ 'github:NixOS/nixpkgs/71e91c409d1e654808b2621f28a327acfdad8dc2?narHash=sha256-GnR7/ibgIH1vhoy8cYdmXE6iyZqKqFxQSVkFgosBh6w%3D' (2024-08-28)
2024-09-01 00:11:30 +00:00
Leonard Cohnen
9b5c2dc7ed
fix: upower module selection with multiple devices
...
While looping over all the upower devices, the currently set device that will be rendered in the waybar, is overridden. Since the loop doesn't end when the device is found, the upDevice_ is overridden with NULL in the iteration for the next device.
Now we only override upDevice_ if the current device matches the constraints.
Fixes d2a719d67c ("Redo to minimize code duplication.")
Fixes #3267
2024-08-31 20:44:29 +02:00
Antoine Bolvy
0ee519753c
feat: hidpi support for image module
2024-08-27 15:43:19 +02:00
Sonter
bf36f2abed
Merge branch 'Alexays:master' into master
2024-08-27 11:44:53 +00:00
Alexis Rouillard
5d184f74d8
Merge pull request #3506 from soreau/taskbar-minimize-hints
...
taskbar: Send minimize geometry hints
2024-08-26 13:10:43 +02:00
Scott Moreau
4d89c64bed
taskbar: Fixup whitespace
2024-08-26 04:44:22 -06:00
Alexis Rouillard
f665d1da52
Merge pull request #3527 from alebastr/hypr-getaddrinfo
...
hyprland/backend: drop unnecessary getaddrinfo call
2024-08-26 09:03:51 +02:00
Khiet Tam Nguyen
fd67c6e915
docs: rewording of separate-outputs in man page
2024-08-25 00:05:41 +10:00
Khiet Tam Nguyen
b82bcdb515
docs: updated documentation for windowcount.5.scd
2024-08-24 15:21:33 +10:00
Khiet Tam Nguyen
13bc497abd
style: clang-format
2024-08-24 15:21:04 +10:00
Khiet Tam Nguyen
8254bd72b7
style: applied clang-format on windowcount.cpp
2024-08-24 13:36:00 +10:00
Khiet Tam Nguyen
9254ef6f2f
docs: updated scd man pages
2024-08-24 13:29:46 +10:00
Khiet Tam Nguyen
a5e322ee66
fix: remove rewrite
2024-08-24 12:59:57 +10:00
Khiet Tam Nguyen
6aa8aa3b22
fix: remove focused_
2024-08-24 12:57:10 +10:00
Khiet Tam Nguyen
f7e1d34251
feat: added empty and fullscreen style classes
2024-08-24 01:33:15 +10:00
Khiet Tam Nguyen
38ffb24c52
feat: format-fullscreen and format-windowed override added
2024-08-24 01:25:50 +10:00
Khiet Tam Nguyen
1b282e67a7
fix: remove unused attributes
2024-08-24 01:06:00 +10:00
Khiet Tam Nguyen
1806edcb06
fix: remove unused variable
2024-08-24 01:04:58 +10:00
Khiet Tam Nguyen
e40bc27257
fix: default separate-outputs to true
2024-08-24 00:40:41 +10:00
Khiet Tam Nguyen
58e4f89a82
fix: allow custom format
2024-08-24 00:40:22 +10:00
Khiet Tam Nguyen
d64c80e234
temp: working implementation
2024-08-24 00:14:30 +10:00
Khiet Tam Nguyen
5c859bf520
temp: changed window -> windowcount
2024-08-24 00:06:24 +10:00
Sonter
29459371b9
Merge branch 'Alexays:master' into master
2024-08-21 19:14:32 +03:00
Alexis Rouillard
26329b660a
Merge pull request #3534 from ilpianista/bugfix/check-format-source
...
fix: check format-source before use
2024-08-20 14:03:50 +02:00
Andrea Scarpino
0fb1957dae
fix: check format-source before use
2024-08-20 13:57:29 +02:00
Alexis Rouillard
c5a4266329
Merge pull request #3531 from yangyingchao/master
...
fix crash caused by use bar instance after it is freed (use-after-free)
2024-08-19 09:05:30 +02:00
yangyingchao
fd478bf2ab
fix crash caused by use bar instance after it is freed (use-after-free)
2024-08-19 13:47:56 +08:00
Aleksei Bavshin
1f23b30b56
hyprland/backend: drop unnecessary getaddrinfo call
...
Hyprland hasn't been using TCP sockets for IPC since the first release,
so this getaddrinfo call and its result was never needed.
Additionally, it leaks the `aiRes`, causing test failure under ASan.
2024-08-17 22:32:17 -07:00
Sonter
36497cd41a
Rename cava css values
2024-08-14 19:27:12 +03:00
Sonter
367f156eb0
Add cava.update to css
2024-08-14 19:25:37 +03:00
Sonter
ed40168d89
Add cava.silence to css
2024-08-14 14:43:17 +00:00
Sonter
62cb61c670
Add format_silent to cava module
2024-08-14 11:56:32 +03:00
Alexis Rouillard
21906f07b3
Merge pull request #3511 from hacrvlq/wireplumber-fix
...
Accept "default-node-changed" signals from wireplumber, even if only the node ID is changed
2024-08-07 09:22:33 +02:00
hacrvlq
c468119f52
fix(wireplumber): Handle changes to the default node ID
2024-08-06 19:59:58 +02:00
Alexis Rouillard
79d3a1a296
Merge pull request #3494 from yangyingchao/master
...
fix #3490 : expand menu file before opening it
2024-08-05 09:51:35 +02:00
Alexis Rouillard
4ae144a724
Merge pull request #3499 from gergo-salyi/cpuhotplug
...
Handle offline CPUs and CPU hotplug
2024-08-05 09:51:00 +02:00
Scott Moreau
fdc8431709
taskbar: Send minimize geometry hints
...
This allows compositors to know the minimize widget geometry so that
minimize animations work properly.
2024-08-04 22:49:51 -06:00
Alexis Rouillard
9d15c666b2
Merge pull request #3493 from Alexays/update_flake_lock_action
2024-08-03 08:10:45 +02:00
Alexis Rouillard
2131678f6b
Merge pull request #3500 from khaneliman/group
2024-08-03 08:10:02 +02:00
Austin Horstman
17f07b2452
group: proper fix of enter/leave
...
Ignore mouse leave event when we are still within the parent element
2024-08-02 23:37:52 -05:00
Austin Horstman
05d69ae822
src/util/css_reload_helper: clang-format
2024-08-02 23:06:53 -05:00
Austin Horstman
3ae81d62bc
group: fix hover regression
...
We aren't including the hover detection on the revealer, so when the
animation fires we fire the leave event which starts an infinite loop of
enter/leave while we watch boxes move back and forth.
2024-08-02 23:06:53 -05:00
Austin Horstman
4efa123183
group: clang-tidy
2024-08-02 23:06:53 -05:00
Gergő Sályi
24a9886952
Handle offline CPUs and CPU hotplug
...
First of all in case when the number CPUs change
prevent out-of-bound index access in
waybar::modules::CpuUsage::getCpuUsage()
Secondly on Linux when updating CPU usage
read /sys/devices/system/cpu/present
and use it to detect the offline CPUs missing from /proc/stat
For offline CPUs report 0 usage and "offline" in the tooltip
Fixes issue #3498
On Linux one can test this functionality with:
echo 0 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu1/online
On non-Linux OSes I'm not sure how to detect offline CPUs,
so I didn't add the offline CPU detection there
but at least CPU number change should not cause a crash there anymore
or cause memory safety issues after this fix
2024-08-02 17:32:07 +02:00
yangyingchao
7ec1343ad5
fix #3490 : expand menu file before opening it
2024-08-01 18:06:00 +08:00
github-actions[bot]
7e1fffc455
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/693bc46d169f5af9c992095736e82c3488bf7dbb?narHash=sha256-oedh2RwpjEa%2BTNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA%3D' (2024-07-14)
→ 'github:NixOS/nixpkgs/52ec9ac3b12395ad677e8b62106f0b98c1f8569d?narHash=sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k%3D' (2024-07-28)
2024-08-01 00:09:59 +00:00
schmop
f4608b3e31
Fix battery status changes not being detected
...
Historically we listened to /sys/class/poewr_supply inotify events,
which does not seem to work anymore.
We switched now to udev netlink kernel events.
2024-07-27 01:15:42 +02:00
Alexis Rouillard
003dd3a9a2
Merge pull request #3457 from RobertMueller2/issue_3414
...
Issue #3414/clock: Shift ONLY calendar
2024-07-22 09:06:08 +02:00
Alexis Rouillard
cece04e02f
Merge pull request #3462 from DomCristaldi/walk-symlink-chain
2024-07-21 09:47:43 +02:00
DomCristaldi
58e21e876e
walk up symlink tree
...
"reload_style_on_change" would check if the target file is a symlink,
but only resolves the first link. If the symlink is acutally a chain of
symlink, such as what happens with NixOS's mkOutOfStoreSymlink, we will
not find the actual file style file.
Update the symlink resolution logic to walk down the symlink chain until
it finds a non-symlink. Also check against a the original filename
(which may be a symlink) to guard against infinitely looping on a
circular symlink chain.
2024-07-20 22:58:03 -04:00
Alexis Rouillard
cb8fc1c10d
Merge pull request #3459 from khaneliman/bar-visible
2024-07-20 18:16:06 +02:00
Austin Horstman
a544f4b2cd
bar: fix setVisible
...
Accidentally removed updating the visible variable
2024-07-20 09:33:13 -05:00
Rene D. Obermueller
ee0912a254
Issue #3414/clock: Shift ONLY calendar
...
Right now, for the tooltip, all times are shifted if shift-down/shift-up
actions are used. But it really only makes sense for this to apply to
the {calendar} replacement, so use shiftedNow there and now for all
the rest.
2024-07-20 09:03:49 +02:00
Alex
15e1547661
chore: 0.10.4
2024-07-17 23:04:05 +02:00
Alexis Rouillard
dcbcf90aef
Update freebsd.yml
2024-07-17 22:52:39 +02:00
Alexis Rouillard
ed0ed398b7
Update freebsd.yml
2024-07-17 22:46:58 +02:00
Alexis Rouillard
152053e069
Merge pull request #3398 from khaneliman/cursor
...
AModule: Cursor config option
2024-07-17 22:40:12 +02:00
Alexis Rouillard
496dd05e14
Merge pull request #3443 from yangyingchao/master
...
fix #3442
2024-07-17 22:38:22 +02:00
Alexis Rouillard
3ff8fc8a10
Merge pull request #3447 from khaneliman/hyprland-disable
...
hyprland: disable modules instead of rendering empty
2024-07-17 22:37:48 +02:00
Alexis Rouillard
d061d2259e
Merge pull request #3448 from khaneliman/sway
...
sway/workspaces: remove deprecated field and ignore empty rewrite rules
2024-07-17 22:36:58 +02:00
Austin Horstman
90ac7d5d2c
sway/workspaces: support ignore window-rewrite
...
Similar to hyprland implementation to ignore "" empty rules
2024-07-16 22:50:26 -05:00
Austin Horstman
4295faa7c4
hyprland/backend: throw runtime_error instead of log
...
Allows us to disable modules entirely when socket connection isn't
working. This is similar to how sway handles their socket connections
disabling modules. This supports a single waybar config for multiple
IPCs.
2024-07-16 18:40:47 -05:00
Austin Horstman
9c40137d05
sway/workspaces: clang-tidy
2024-07-16 18:33:43 -05:00
Austin Horstman
17132b250d
sway/workspaces: remove deprecated field
...
Was deprecated a long time ago, we removed the Hyprland version.
Removing this, as well.
2024-07-16 18:33:43 -05:00
Alexis Rouillard
3f61df4e66
Merge pull request #3416 from Ape/pr/ignored_sink_never_running
...
pulseaudio: Consider ignored sinks never running
2024-07-16 14:20:32 +02:00
Alexis Rouillard
2d9cc623c2
Merge pull request #3422 from RobertMueller2/issue_feat_3256
...
feat/issue 3256: Toggle drawer state
2024-07-16 14:19:30 +02:00
Alexis Rouillard
f6ff6492ef
Merge pull request #3441 from tchaikov/fmt-format-const
2024-07-16 08:12:29 +02:00
yangyingchao
b65ca334a8
fix #3442
2024-07-16 09:07:39 +08:00
Kefu Chai
b71dfce1f7
Fix build with fmt11
...
Since fmt 11.0.0, formatter:format() is required to be const. Mark
all of the specializations as const to be compatible with fmt 11.
This change is implemented in the same spirit of 7725f6ed5a .
Signed-off-by: Kefu Chai <tchaikov@gmail.com >
2024-07-16 08:46:55 +08:00
Alexis Rouillard
5f3a9d9423
Merge pull request #3440 from khaneliman/hyprland-fix
...
hyprland/window: fix crash when no return from socket
2024-07-15 19:16:06 +02:00
Austin Horstman
895c870d02
network: use fmt for format
...
Fixes the gentoo build
2024-07-15 09:44:39 -05:00
Austin Horstman
47d7324a19
client: clang-format
2024-07-15 09:02:27 -05:00
Austin Horstman
b19890c0b1
network: clang-format
2024-07-15 09:02:27 -05:00
Austin Horstman
b41fcdedff
hyprland/window: fix crash when no return from socket
...
Gracefully handle lack of response from the IPC. If socket isn't
available, we already log the IPC isn't running. We dont need to crash
program just because we couldn't get responses. We can just return an
empty object.
2024-07-15 09:02:27 -05:00
Austin Horstman
0a78da0315
flake.lock: update
2024-07-15 08:55:32 -05:00
Alexis Rouillard
3d0fd14f3f
Merge pull request #3435 from grimsteel/network-bssid
2024-07-13 07:05:19 +02:00
Siddhant Kameswar
e117bd7cb6
network: add bssid format replacement
2024-07-12 20:46:26 -05:00
Alexis Rouillard
2655660509
Merge pull request #3432 from BSFishy/readme_update
2024-07-11 21:01:52 +02:00
Matt Provost
0dd6af5a7e
chore: update meson build command
...
Signed-off-by: Matt Provost <mattprovost6@gmail.com >
2024-07-11 08:01:54 -05:00
Rene D. Obermueller
e2e5d4d447
feat/issue 3256: Toggle drawer state
2024-07-10 07:42:18 +02:00
Alexis Rouillard
44f39ca0ce
Merge pull request #3429 from ziyao233/outgoing/fix-fmt11
2024-07-09 21:08:16 +02:00
Yao Zi
7725f6ed5a
Fix build with fmt11
...
Since fmt 11.0.0, formatter:format() is required to be const.Mark
affected functions as const to stay compatible with fmt 11.
Signed-off-by: Yao Zi <ziyao@disroot.org >
2024-07-08 20:28:26 +00:00
Alexis Rouillard
b26ab1f982
Merge pull request #3417 from yangyingchao/master
...
(temperature) fix clang-tidy lint .
2024-07-06 09:40:02 +02:00
yangyingchao
21d42baa8e
(temperature) fix clang-tidy lint .
2024-07-06 08:16:45 +08:00
Lauri Niskanen
23274a9d57
pulseaudio: Consider ignored sinks never running
...
If the current sink happens to be ignored it is never considered running
so it will be replaced with another sink.
2024-07-06 01:30:11 +03:00
Austin Horstman
f78f29ee66
AModule: retain existing default behavior when unconfigured
2024-07-03 08:20:48 -05:00
Lars-Ragnar A. Haugen
7e2d8ab2a3
fix( #3239 ): hide cursor type change behind config flag
...
also, statically configure the cursor type
2024-07-03 08:11:15 -05:00
Alexis Rouillard
6f994c849d
Merge pull request #3407 from khaneliman/rewrite-ignore
...
modules/hyprland/workspace: ignore empty window-rewrite
2024-07-03 08:41:15 +02:00
Austin Horstman
702e10649e
modules/hyprland/workspace: ignore empty window-rewrite
...
I'd like to ignore some windows from having icons or empty space taken
on the bar. By filtering out empty repr we can supply rewrite rules that
will ignore them from being processed and showing an empty space or
default icon.
2024-07-03 00:21:49 -05:00
Alexis Rouillard
ca3877d0b8
Merge pull request #3325 from williamwith4ms/escape_&_in_mediaplayer.py
...
fix: display titles with '&' correctly
2024-07-02 22:34:10 +02:00
Alexis Rouillard
18e67afe09
Merge pull request #3404 from khaneliman/clang-tidy
...
treewide: clang-tidy
2024-07-02 22:33:52 +02:00
Austin Horstman
d66685a3aa
util: clang-tidy
2024-07-02 10:38:58 -05:00
Austin Horstman
14c3235c12
src: clang-tidy
2024-07-02 10:38:58 -05:00
Alexis Rouillard
034760e8b6
Merge pull request #3399 from RobertMueller2/discussion_3373
...
fix example in manpage for pulseaudio/slider
2024-07-01 19:27:02 +02:00
Rene D. Obermueller
8f64caceb5
fix example in manpage for pulseaudio/slider
2024-07-01 18:30:58 +02:00
Alexis Rouillard
9997155617
Merge pull request #3267 from luttermann/upower_model
...
Add config option to select UPower device based on device model.
2024-07-01 09:22:59 +02:00
Alexis Rouillard
ff0f408ab8
Merge pull request #3380 from alerque/debug-keyboard-layout
...
Add keyboard debug info to hyprland language module
2024-07-01 09:22:08 +02:00
Alexis Rouillard
3262b375c9
Merge pull request #3377 from fglinka/master
...
Fix build error on Ubuntu 22.04
2024-07-01 09:21:56 +02:00
Alexis Rouillard
494cedb3bc
Merge pull request #3393 from RobertMueller2/issue_3366
...
workaround for icons not rendered for apps existing before waybar launch
2024-07-01 09:21:40 +02:00
Alexis Rouillard
93000e3fca
Merge pull request #3395 from RobertMueller2/issue_33341
...
add hide-empty-text option to hide module whenever output is empty but format is not
2024-07-01 09:20:56 +02:00
Alexis Rouillard
abfb654f90
Merge pull request #3396 from Alexays/update_flake_lock_action
...
flake.lock: Update
2024-07-01 09:20:39 +02:00
Alexis Rouillard
9c7a275cd6
Merge pull request #3247 from benjamin-voisin/menu
...
Adding the ability to have dropdown menu for modules
2024-07-01 09:18:13 +02:00
github-actions[bot]
f609042ece
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b?narHash=sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs%3D' (2024-05-29)
→ 'github:NixOS/nixpkgs/b2852eb9365c6de48ffb0dc2c9562591f652242a?narHash=sha256-C8e9S7RzshSdHB7L%2Bv9I51af1gDM5unhJ2xO1ywxNH8%3D' (2024-06-27)
2024-07-01 00:09:58 +00:00
Rene D. Obermueller
8eee568731
manpage for PR #3395
2024-06-30 21:23:54 +02:00
Rene D. Obermueller
fb24e8cb1f
add hide-empty-text option to hide module whenever output is empty but format is not
2024-06-30 21:16:52 +02:00
Rene D. Obermueller
64a3133083
workaround for icons not rendered for apps existing before waybar launch
2024-06-30 14:52:49 +02:00
Alexis Rouillard
64f54e1fce
Merge pull request #3389 from khaneliman/cleanup
2024-06-28 21:50:08 +02:00
Austin Horstman
c08660d837
modules/hyprland/backend: handle empty json responses
...
Fixes https://github.com/Alexays/Waybar/issues/3388
2024-06-28 13:18:44 -05:00
Austin Horstman
f6482c36dc
hyprland: clangd cleanup
2024-06-28 13:06:14 -05:00
Alexis Rouillard
ccc3c13212
Update archlinux
2024-06-24 08:58:29 +02:00
Alexis Rouillard
1003c220be
Merge pull request #3381 from OpenSauce04/deprioritize-battery-capacity
...
modules/battery: Deprioritize `capacity` /sys value for battery calculation if other methods are available
2024-06-24 08:57:30 +02:00
OpenSauce04
d68bcbd292
modules/battery: Deprioritize capacity /sys value
2024-06-23 14:39:41 +01:00
Caleb Maclennan
4126502fe8
Add debug information for keyboard layout selection
2024-06-23 00:02:48 +03:00
Felix Glinka
136b207a12
Add suggestion by clang-format
2024-06-21 16:43:21 +02:00
Felix Glinka
c4d769a586
Add explicit constructor to struct Profile
...
Not adding the constructor causes a compilation error on Ubuntu 22.04
with both clang 14 and gcc 11:
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/alloc_traits.h:518:4: error: no matching function for call to 'construct_at'
std::construct_at(__p, std::forward<_Args>(__args)...);
^~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/vector.tcc:117:21: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<waybar::modules::Profile>>::construct<waybar::modules::Profile, Glib::ustring, Glib::ustring>' requested here
_Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
^
../src/modules/power_profiles_daemon.cpp:106:26: note: in instantiation of function template specialization 'std::vector<waybar::modules::Profile>::emplace_back<Glib::ustring, Glib::ustring>' requested here
availableProfiles_.emplace_back(std::move(name), std::move(driver));
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_construct.h:94:5: note: candidate template ignored: substitution failure [with _Tp = waybar::modules::Profile, _Args = <Glib::ustring, Glib::ustring>]: no matching constructor for initialization of 'waybar::modules::Profile'
construct_at(_Tp* __location, _Args&&... __args)
^
2024-06-21 15:32:04 +02:00
Alexis Rouillard
1c1089bade
Merge pull request #3364 from khaneliman/persistent-rename
2024-06-16 09:47:03 +02:00
Austin Horstman
b114b1155c
treewide: clang-format
2024-06-15 18:44:46 -05:00
Austin Horstman
f9e693b2a2
modules/hyprland/backend: remove testing log warn
2024-06-15 18:37:25 -05:00
Austin Horstman
bac4d03813
modules/hyprland/workspaces: remove deprecated property
2024-06-15 18:34:45 -05:00
Alexis Rouillard
9ba5825009
Merge pull request #3362 from lukasfink1/bt-dyn-controller-pr
...
Fix device list not being updated on selecting new bluetooth controller
2024-06-14 14:54:22 +02:00
Lukas Fink
0df3c84c0f
Fix device list not being updated on selecting new bluetooth controller
2024-06-14 14:00:55 +02:00
Alexis Rouillard
3f49725834
Merge pull request #3360 from lukasfink1/bt-dyn-controller-pr
...
Add hotplug detection of bluetooth controllers
2024-06-14 09:06:57 +02:00
Lukas Fink
ab91d0bac3
Add hotplug detection of bluetooth controllers
2024-06-14 02:24:24 +02:00
Alexis Rouillard
79a6229522
Merge pull request #3353 from locked-out/muted_icons
...
Support for muted icons for pulseaudio devices/ports
2024-06-13 08:47:53 +02:00
Oliver Locke
01438f71a4
Added muted icons usage to waybar-pulseaudio man page
2024-06-13 15:59:42 +10:00
Alex
0bc43c1aa7
fix: lint
2024-06-12 23:08:27 +02:00
Alexis Rouillard
e8a2882796
Merge pull request #3320 from rtgiskard/dev
...
fix mpris: hide on current player vanished
2024-06-12 23:08:00 +02:00
Alexis Rouillard
b955e92276
Merge pull request #3244 from rtgiskard/fix.privacy
...
fix privacy: consider only configured modules
2024-06-12 23:07:51 +02:00
Alexis Rouillard
562e1e59b1
Merge pull request #3331 from Eisfunke/eisfunke/regex-collection-replace
...
Enable using capture groups in window-rewrite
2024-06-12 23:02:52 +02:00
Oliver Locke
892042eb92
Support muted icons for pulseaudio devices/ports
2024-06-12 17:03:39 +10:00
Alexis Rouillard
0251e25f23
Merge pull request #3345 from khaneliman/testing
...
Organize tests and start Hyprland testing
2024-06-10 21:38:01 +02:00
Alexis Rouillard
9bd09aa1b3
Merge pull request #3318 from Alexays/update_flake_lock_action
...
flake.lock: Update
2024-06-10 21:36:26 +02:00
giskard
1cd013a09b
clock: respect tooltip option
2024-06-10 17:31:00 +08:00
giskard
7721dcdae8
mpris: some clang-tidy fix
2024-06-10 17:31:00 +08:00
giskard
e8d91eb14b
mpris: hide on current player vanished
2024-06-10 17:31:00 +08:00
giskard
0773786766
privacy: consider only configured modules
...
along with the local clang-tidy warning fixes
2024-06-10 17:31:00 +08:00
Austin Horstman
71bb2b64bf
subprojects/spdlog: bump spdlog
...
Fixes alpine build and is a commonly distributed version
2024-06-09 15:08:43 -05:00
Austin Horstman
06fa931de9
Dockerfiles/opensuse: add python3-packaging dependency
2024-06-09 13:41:01 -05:00
Austin Horstman
16ff5ee99b
.github/workflows/linux: fail-fast
2024-06-09 13:41:01 -05:00
Austin Horstman
08c5df3633
modules/sway/workspaces: clang-format fix
2024-06-09 13:05:47 -05:00
Austin Horstman
b365831839
test/hyprland/backend: fix
2024-06-09 13:04:09 -05:00
Austin Horstman
959422f143
modules/hyprland/backend: protect against crash when XDG_RUNTIME_DIR not set
2024-06-09 10:18:20 -05:00
Austin Horstman
fa2e21dfd5
modules/hyprland/backend: move getSocketFolder to class
2024-06-09 10:18:20 -05:00
Austin Horstman
58e7abba2c
tests: split into separate binaries
2024-06-08 22:43:48 -05:00
Austin Horstman
87eaa75b8a
test/hyprland/backend: init
2024-06-08 22:43:48 -05:00
Austin Horstman
749f46f86f
test/fixtures: Add GlibTestsFixture
2024-06-08 22:18:23 -05:00
Austin Horstman
0055ee6910
modules/hyprland/workspaces: remove unneccesary visibleWorkspaces variable
2024-06-07 13:56:49 -05:00
Austin Horstman
1b3b45779a
modules/hyprland/backend: add getSocketFolder to header
2024-06-07 13:56:49 -05:00
Austin Horstman
e1a6d513cc
test/config: add hyprland-workspaces config
2024-06-07 13:56:49 -05:00
Alexis Rouillard
f4da203915
Merge pull request #3336 from pjones/pjones/current-only
2024-06-07 08:35:02 +02:00
Peter Jones
637b220f82
sway/workspaces: Correct behavior when "current-only" is set
...
The `current-only` workspace setting should display only the active
workspace name as determined by its `focused` attribute. However,
according to the `get_tree` output, workspaces that contain a focused
window will report `"focused": false` and the window will report
`"focused": true.` In this case, Waybar will not display a workspace
name at all.
This change updates the logic for determining if a workspace is
focused by also looking for a focused window.
2024-06-06 15:29:33 -07:00
Alexis Rouillard
365e77af58
Merge pull request #3332 from zspher/patch-wlr-taskbar
2024-06-05 22:07:55 +02:00
zspher
1b1442e3ba
fix: taskbar not applying empty class on empty
2024-06-06 03:23:47 +08:00
Nicolas Lenz
d0a8c1d90d
document capturing in window-rewrite
2024-06-05 20:16:30 +02:00
Nicolas Lenz
76c2f3166e
format RegexCollection output using match results
2024-06-05 19:58:27 +02:00
williammmm
02eaa8b46e
escape & in mediaplayer
2024-06-03 19:46:55 +01:00
giskard
4fbd4f212a
privacy: consider only configured modules
...
along with the local clang-tidy warning fixes
2024-06-02 04:07:12 +08:00
github-actions[bot]
1474cc626d
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/44d0940ea560dee511026a53f0e2e2cde489b4d4?narHash=sha256-YN/Ciidm%2BA0fmJPWlHBGvVkcarYWSC%2Bs3NTPk/P%2Bq3c%3D' (2024-03-23)
→ 'github:NixOS/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b?narHash=sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs%3D' (2024-05-29)
2024-06-01 00:09:05 +00:00
Alexis Rouillard
7163752aa0
Merge pull request #3317 from jackwilsdon/patch-1
...
Fix format replacement names
2024-05-31 17:59:21 +02:00
Jack Wilsdon
e9350cf25f
Fix format replacement names
2024-05-31 14:31:29 +00:00
Alexis Rouillard
1a1a61e917
Merge pull request #3313 from zjeffer/fix/zjeffer/dockerfiles
2024-05-30 20:28:55 +02:00
zjeffer
532a90259b
Dont fail docker image builds when another build fails
2024-05-30 20:18:33 +02:00
zjeffer
cf66604f85
fix fedora image
2024-05-30 19:35:32 +02:00
Alexis Rouillard
9332697ec1
Merge pull request #3064 from alttabber/master
...
Hyprland/Workspaces: Added option to hide non-visible special workspaces
2024-05-29 10:23:26 +02:00
Alexis Rouillard
ab735f723c
Merge pull request #3309 from khaneliman/workflows
2024-05-29 08:07:05 +02:00
Austin Horstman
c5b5b64dfa
modules/temperature: remove unused import
2024-05-28 15:41:10 -05:00
Austin Horstman
381fe83008
Makefile: fix meson deprecations
2024-05-28 15:41:10 -05:00
Austin Horstman
8adb0a5644
.github/workflows: fix meson deprecations
2024-05-28 15:41:10 -05:00
Benjamin Voisin
885290d907
📝 improve waybar-menu file
2024-05-28 21:02:07 +02:00
Benjamin Voisin
8220dbb513
📝 add a wayba-menu entry for documenting popup menus.
2024-05-28 20:42:47 +02:00
Benjamin Voisin
d9f2e0f7d2
📝 add menu config informations in manpages
2024-05-28 20:42:12 +02:00
Benjamin Voisin
161c8c4c47
🥅 do not crash when unable to make the menu
...
When the menu cannot be built (file not existing, or wrongly formatted),
the menu is not created and a warning with an explanaition is
displayed.
2024-05-28 19:31:26 +02:00
Benjamin Voisin
f3ed5ca5af
🌱 update default config with a menu example
2024-05-28 18:18:51 +02:00
Alexis Rouillard
0d518cb5a3
Merge pull request #3308 from khaneliman/bugfix/3280
...
modules/hyprland/backend: use /tmp
2024-05-28 18:00:53 +02:00
Austin Horstman
24e8766aaa
hyprland/backend: use /tmp
...
Was hardcoded to /tmp in previous versions
2024-05-28 11:00:20 -05:00
alttabber
29e3d8c371
Hide non-visible special workspaces
2024-05-28 17:45:01 +02:00
Benjamin Voisin
c3581fb66b
🥅 only check menu if speciifed in the conf
2024-05-28 17:33:44 +02:00
Alexis Rouillard
57f2a57dac
Merge pull request #3306 from JohnRTitor/workflows-patch
...
workflows: add nix workflows
2024-05-28 10:21:39 +02:00
John Titor
b6ca3ea4d9
worflows: add update-flake-lock action
...
automatically updates the nix flake lock file
runs once a month
2024-05-28 13:29:25 +05:30
John Titor
1a9952d0c0
workflows: add nix-test workflow
...
Checks the flake
Builds and tests the package
2024-05-28 13:29:25 +05:30
Alex
a4a4be3381
fix: lint
2024-05-28 09:19:21 +02:00
Alexis Rouillard
b7ce0b05b1
Merge pull request #3281 from VlctM/master
...
fix(#3211 ) change layer for mode invisible to nullopt
2024-05-28 09:18:36 +02:00
Alexis Rouillard
af87388eb4
Update docker.yml
2024-05-28 09:13:11 +02:00
Alexis Rouillard
2aa8008ae2
Merge pull request #3259 from zjeffer/docker-images-action
...
Add GitHub action for nightly Docker image building
2024-05-28 09:11:07 +02:00
Alexis Rouillard
d4413f5fa6
Merge pull request #3255 from LukashonakV/ISSUE#2240
...
Fix Clock. Tooltip calendar text overflows(#2240 )
2024-05-28 09:08:31 +02:00
Alexis Rouillard
af7945197e
Merge pull request #3260 from zjeffer/clang-tidy
...
clang-tidy fixes in the privacy module
2024-05-28 09:07:57 +02:00
Alexis Rouillard
ac2fa9870f
Merge pull request #3241 from rtgiskard/master
...
temperature: allow hwmon-path-abs as array
2024-05-27 09:03:08 +02:00
Alexis Rouillard
a3ac6cb099
Merge pull request #3258 from zjeffer/master
...
Fix debian dockerfile
2024-05-27 08:47:33 +02:00
Alexis Rouillard
dc203b8439
Merge pull request #3299 from khaneliman/cleanup
...
hyprland: refactor and cleanup
2024-05-27 08:47:09 +02:00
Austin Horstman
f5bb086460
hyprland/workspaces: sort methods
2024-05-24 14:41:59 -05:00
Austin Horstman
9ba9d57c8c
hyprland/windowcreationpayload: sort methods
2024-05-24 14:30:31 -05:00
Austin Horstman
82ae474002
hyprland/workspace: sort methods
2024-05-24 14:29:03 -05:00
Austin Horstman
56319a4705
hyprland/workspaces: break up implementations
2024-05-24 14:21:31 -05:00
Austin Horstman
07c91c200a
hyprland/workspaces: break up headers
2024-05-24 14:21:31 -05:00
Austin Horstman
d73051e980
hyprland/workspaces: break up doUpdate
2024-05-24 14:21:31 -05:00
Austin Horstman
9fe51af6b0
hyprland/workspaces: break up parseConfig
2024-05-24 14:21:31 -05:00
Austin Horstman
e4353e548a
.gitignore: add .ccls-cache
2024-05-24 14:21:31 -05:00
Alexis Rouillard
63bb338343
Merge pull request #3296 from unrealhoang/nix_cava_bump
2024-05-24 06:16:41 +02:00
Unreal Hoang
d012124c03
cava bump: 0.10.2 for nix
2024-05-24 09:18:25 +09:00
Alexis Rouillard
10664922c9
Merge pull request #3294 from LukashonakV/cava_bump
2024-05-23 23:03:49 +02:00
Viktar Lukashonak
60a613ae51
cava bump: 0.10.2
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com >
2024-05-23 16:15:48 +03:00
Alexis Rouillard
35a9ca476d
Merge pull request #3289 from yangyingchao/yc-hacking
2024-05-22 09:17:07 +02:00
yangyingchao
b8e68b0e63
(hyprland) fix crash when failed to parse IPC message
...
IPC messages are parsed in a dedicated thread, and the thread terminates when
an exception is not caught, which causes the waybar process to crash with
SIGABORT.
While this issue might be related to Hyprland, it is really annoying to see
waybar crash. It would be better to catch those exceptions and report errors
instead of crashing.
2024-05-22 12:52:01 +08:00
wmlhwl
b61ea62732
change layer for mode invisible to nullopt
2024-05-19 13:53:09 +02:00
Alexis Rouillard
8ad7c75d79
Merge pull request #3278 from LukashonakV/ISSUE#3276_cava
2024-05-18 11:42:14 +02:00
Viktar Lukashonak
5a1454ab31
Cava. $XDG_CONFIG_HOME validation
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com >
2024-05-18 11:28:10 +03:00
Viktar Lukashonak
b288fdf8c1
ISSUE#2240. Clock Gtk::Label as a calendar tooltip
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com >
2024-05-17 20:17:33 +03:00
Lasse Luttermann
d2a719d67c
Redo to minimize code duplication.
2024-05-16 12:37:53 +02:00
Lasse Luttermann
28ef5b7db2
Fix formatting
2024-05-14 10:21:24 +02:00
Lasse Luttermann
6413f25b8d
Add config option to select UPower device based on device model.
2024-05-14 10:13:22 +02:00
Alexis Rouillard
912d0e83f3
Merge pull request #3266 from luttermann/master
2024-05-14 09:37:11 +02:00
Lasse Luttermann
3c075bcc53
Fixed formatting
2024-05-14 08:26:44 +02:00
Lasse Luttermann
ba8a88acfb
Do not try to compare a string that may be a null-pointer
2024-05-14 08:16:10 +02:00
zjeffer
e27488b48c
clang-tidy improvements in privacy module
2024-05-11 16:19:46 +02:00
zjeffer
1828a94b6c
clang-tidy: comment case styling options
2024-05-11 16:19:46 +02:00
zjeffer
49afcdf715
Add GitHub action for nightly Dockerfiles building
2024-05-11 16:16:02 +02:00
zjeffer
ff84c6dbaf
fix debian dockerfile
2024-05-11 15:59:20 +02:00
Alexis Rouillard
cb2d54a237
Merge pull request #3248 from LukashonakV/ISSUE3223_upower
2024-05-10 06:50:40 +02:00
Viktar Lukashonak
5fe99ea0e1
Upower. Fix segmentation fault
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com >
2024-05-10 00:00:47 +03:00
Benjamin Voisin
21751b2faa
🎨 clang-tidy
2024-05-09 20:59:25 +02:00
Benjamin Voisin
3b87b83076
♻️ move GMenu to ALabel class
2024-05-09 18:34:26 +02:00
Benjamin Voisin
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
giskard
b980dab6df
doc: update waybar-temperature manual page
2024-05-08 23:56:44 +08:00
giskard
e298bf922f
temperature: allow hwmon-path-abs as array
2024-05-08 23:55:51 +08:00
ViktarL
2ead1bbf84
Upower refactoring ( #3220 )
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com >
2024-05-07 10:29:52 +02:00
Tuur Vanhoutte
29917fb073
Fix hyprland/language events not working with keyboard names with commas in them ( #3224 )
2024-05-07 08:26:05 +02:00
Alex
e627879b16
chore: 0.10.3
2024-05-06 10:54:52 +02:00
Alex
0572e02d7e
fix: lint
2024-05-06 10:51:30 +02:00
Eldar Yusupov
df1a9c5509
Remove listener when window is destroyed ( #3215 )
2024-05-06 10:51:14 +02:00
Lars-Ragnar A. Haugen
e7779b5458
feat( #3174 ): hover for whole group ( #3201 )
...
* feat(#3174 ): hover for whole group
* fix: target eventbox for class also
* fix: actually no reason to add handler, just override AModule
* fix: actually remove existing handler as well
drawer functionality still works from my testing. anything else to think
abotu?
* revert: keep id and class on original box
* refactor: clang-format group.hpp
* dev: try stop workflow
2024-05-06 10:51:03 +02:00
Alex
fc6d708fb6
chore: disable cland-tidy for now
2024-05-06 10:50:55 +02:00
Lars-Ragnar A. Haugen
a453ea3c70
fix( #3210 ): tooltip-format on custom modules not working in some cases ( #3213 )
2024-05-06 10:47:52 +02:00
Lars-Ragnar A. Haugen
8e8ce0c6bc
feat( #3182 ): style tray icon on hover ( #3203 )
2024-05-06 10:47:25 +02:00
Bintang
c4e0c569aa
flake: fix overlay not actually being applied ( #3208 )
2024-05-06 10:46:10 +02:00
柳芭老爹
231d6972d7
fix: custom module mediaplayer doesn't respect argument ( #3198 )
...
fix custom module mediaplayer which doesn't consider --exclude argument on player appear
2024-05-03 08:47:41 +02:00
Jacob Birkett
50476edc98
Nix Flake: Fix overlay (again) ( #3196 )
2024-05-03 08:31:39 +02:00
Lars-Ragnar A. Haugen
0b6476da32
fix: set cursor appropriately on user event hover ( #3195 )
2024-05-02 22:09:21 +02:00
Jan Beich
79ae530bd2
pipewire: unbreak build on FreeBSD ( #3193 )
2024-05-02 08:31:40 +02:00
Tuur Vanhoutte
f41458ea24
Fix Hyprland socketpath changed to XDG_RUNTIME_DIR ( #3183 )
2024-04-29 19:46:28 +02:00
clayton craft
2481f7a292
upower: fix segfault by initializing lastWarningLevel ( #3171 )
...
fixes bd8b215416
2024-04-25 10:36:43 +02:00
Alex
61ac7e4e10
fix: lint
2024-04-25 00:16:15 +02:00
Milo Mordaunt
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
Alexis Rouillard
a597a994d2
Merge pull request #3167 from kiriDevs/battery-health-fix
...
fix(battery): Fix `{health}` format replacement
2024-04-24 23:16:18 +02:00
Kiri
a2c5a8215b
style(battery): Capitalize float 'F' suffix
2024-04-24 15:07:26 +02:00
Kiri
57197b8e01
feat(battery): Also support energy_full (instead of charge_full)
2024-04-24 14:57:11 +02:00
Kiri
5c4e368819
style(battery): Indent level
...
It's now *inconsistent* in the file, but clang-tidy should be happy, sooo...
2024-04-24 09:05:11 +00:00
Kiri
8d962430dd
fix(battery): Remove duplicate line
...
This is what happens when you copy-paste from GitHub actions
2024-04-24 09:02:03 +00:00
Kiri
54a85ea15f
style: Apply clang-format change
...
At least I hope I copy-pased it correctly
2024-04-24 08:56:24 +00:00
Kiri
efa7dc7ba4
fix(battery): Register health replacement for main format
2024-04-24 10:34:35 +02:00
Alex
a04016e0b6
chore: 0.10.2
2024-04-23 17:59:08 +02:00
Alexis Rouillard
08b0ed1b79
Merge pull request #3165 from haug1/fix/group-drawer-hover
...
fix(#3162 ): hover event did not propagate causing issues
2024-04-23 16:23:05 +02:00
Lars-Ragnar A. Haugen
5b7d0a2810
fix( #3162 ): hover event did not propagate causing issues
2024-04-23 16:18:54 +02:00
Alessio Molinari
ea4b95fdd2
Fix: move init gdbusproxy after proxy_device_bat nullcheck
...
Co-authored-by: Alexis Rouillard <alexisr245@gmail.com >
2024-03-04 16:34:45 +01:00
Alessio Molinari
d831a45622
fix: restore signature
2024-02-04 18:01:26 +01:00
Alessio Molinari
2de8a83d84
feat: fetch battery percentage from upower if not found from bluez
2024-02-04 17:20:45 +01:00
Alexis Rouillard
ee0958973b
Merge branch 'master' into issue-1681
2023-07-04 22:49:35 +02:00
Ruan E. Formigoni
15132aeec3
Fix for leftover pids
2022-11-15 01:19:51 -03:00
Ruan E. Formigoni
38af4a6f16
exec runs after on-* events
2022-11-10 02:36:54 -03:00