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
Alexis Rouillard and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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
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
Alexis Rouillard and GitHub
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 and GitHub
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 and GitHub
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
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
Alexis Rouillard and GitHub
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 and GitHub
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 and GitHub
8b48982bf6
Merge pull request #4032 from RobertMueller2/issue_3974
...
wireplumber: fix potential nullpointer deref
2025-04-24 11:28:56 +02:00
Alexis Rouillard and GitHub
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
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 and GitHub
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 and GitHub
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
Alexis Rouillard and GitHub
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 and GitHub
1dfde583df
Merge pull request #4045 from khaneliman/pulse
...
audio_backend: fix crash
2025-04-14 20:52:45 +02:00
Alexis Rouillard and GitHub
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
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
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 and GitHub
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 and GitHub
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 and GitHub
569445f8b3
Merge pull request #4017 from RobertMueller2/issue_4015
...
fix manpage for backlight/slider
2025-04-01 13:38:25 +02:00