Gergő Sályi
a56c1a81c7
Fix AVIF image format support
...
Add AVIF feature and dav1d native dependency if enabled
Do not build AVIF encoder-only features in dependencies
2025-04-13 13:54:56 +02:00
Gergő Sályi
0e1f98f40b
Add unix signal handling
...
Implement unix signal handling using a basic self pipe
Shutdown gracefully on termination signals TERM, INT or HUP
Reserve signals USR1 and USR2 for future use
2025-04-12 19:51:53 +02:00
Gergő Sályi
00546678ca
Prepare better error handling, add anyhow dependency
2025-04-12 14:37:42 +02:00
Gergő Sályi
9e2bfaa14e
Add support to the Hyprland Wayland compositor
2025-04-12 13:42:02 +02:00
Gergő Sályi
94fe622d44
Add logging for niri events
2025-04-10 13:46:14 +02:00
Gergő Sályi
bcb60ea839
Change niri event subscription loop to cache the state of current workspaces
2025-04-09 19:23:29 +02:00
Gergő Sályi
e64359806c
For unnamed niri workspaces use their niri workspace idx as workspace name
...
This mirrors the behavior of sway as sway ipc sets the sway workspace number
as name for unnamed sway workspaces
2025-04-08 21:24:20 +02:00
Gergő Sályi
75492df065
Update dependencies
2025-04-08 19:37:47 +02:00
Gergő Sályi
120b45b972
Fix clippy warnings
2025-04-08 19:23:33 +02:00
Florian Finkernagel
dfa2580bdc
refactor CompositorInterface.subscribe_event_loop to separate concerns
2025-04-08 19:23:33 +02:00
Florian Finkernagel
4b02797e16
Refactor CompositorInterface to expose fewer multibg implementation details
2025-04-08 19:23:33 +02:00
Gergő Sályi
1fdbd7ffb0
Add support to the niri Wayland compositor
...
Implement niri support
Try to autodetect running compositor based on environment variables
XDG_SESSION_DESKTOP, XDG_CURRENT_DESKTOP, SWAYSOCK, NIRI_SOCKET in this order
Add the --compositor command line option
Add niri as optional dependency to the Arch Linux PKGBUILD
Update README and --help to include niri support
Merges the changes from
https://github.com/gergo-salyi/multibg-sway/pull/12
Thanks to the co-author for the contribution
Co-authored-by: Florian Finkernagel <finkernagel@imt.uni-marburg.de>
2025-04-08 19:09:00 +02:00
Gergő Sályi
0771c0586a
Update PKGBUILD to 0.1.10 release
2024-11-17 02:18:47 +01:00
Gergő Sályi
cdea281291
Prepare release 0.1.10
2024-11-17 02:06:42 +01:00
Gergő Sályi
fbfa3d770c
Add tooling to generate PKGBUILD after cargo publish
2024-11-17 02:02:09 +01:00
Gergő Sályi
87f8dd79a1
Add small clarifications to README
2024-11-17 01:49:06 +01:00
Gergő Sályi
f2b1350d22
Update PKGBUILD to follow Arch Linux Rust package guidelines
...
Based on https://wiki.archlinux.org/title/Rust_package_guidelines
2024-11-17 00:41:47 +01:00
Gergő Sályi
5c4fdf7735
Fix sometimes disappearing mouse cursor above wallpapers
...
Disable receiving pointer, touch, and tablet events
by setting an empty input region for our surfaces.
This prevents a sometimes disappearing or hidden cursor when a normal window
closes below the pointer leaving it above our surface.
2024-11-16 21:30:31 +01:00
Gergő Sályi
1ff294e14d
Update dependencies
2024-11-16 21:05:08 +01:00
Gergő Sályi
f07580adca
Add bpftrace scripts tracing the our timings
2024-10-17 02:31:48 +02:00
Gergő Sályi
226dec974b
Update dependencies
2024-10-14 18:38:29 +02:00
Gergő Sályi
2c9193129a
Add rust-version key to Cargo.toml
...
This will catch cases of a too old Rust compiler
which would result in obscure build errors
2024-10-09 19:07:04 +02:00
Gergő Sályi
3d9f723077
Update PKGBUILD to 0.1.9 release
2024-10-09 16:32:51 +02:00
Gergő Sályi
b965892be0
Prepare release 0.1.9
2024-10-09 16:27:06 +02:00
Gergő Sályi
a34ee177d0
Support output transforms having 90 degree rotations
...
Swap the physical width and height of an output for our calculations
if the output has a transform that includes a 90 degree rotation
This tries to fix the issue with broken wallpapers on rotated outputs
https://github.com/gergo-salyi/multibg-sway/issues/9
2024-10-09 16:09:33 +02:00
Gergő Sályi
4e640ad6e7
Update dependencies
2024-10-09 15:09:08 +02:00
Gergő Sályi
1ee9ccffbd
Fixup crate sha256sum after cargo publish
2024-09-30 21:33:04 +02:00
Gergő Sályi
56397f19e4
Update PKGBUILD to 0.1.8 release
2024-09-30 21:25:12 +02:00
Gergő Sályi
0fb67a35af
Prepare release 0.1.8
2024-09-30 21:18:24 +02:00
Gergő Sályi
b203a15222
Anchor the wlr_layer_surface to all 4 edges
...
Attempt to fix a crash with wayland protocol error reported in
https://github.com/gergo-salyi/multibg-sway/issues/8
2024-09-30 21:09:04 +02:00
Gergő Sályi
ea45c60ab1
Add a logging message to initialization
2024-09-30 20:49:26 +02:00
Gergő Sályi
1f253ac3f9
Formatting only - apply added editorconfig to all files
2024-09-30 20:29:09 +02:00
Gergő Sályi
736bbf2be1
Add .editorconfig based on the Rust language repository
2024-09-30 20:19:42 +02:00
Gergő Sályi
0749c9df34
Add missing check if updated output has a positive resolution
2024-09-30 20:13:20 +02:00
Gergő Sályi
77552b9426
Update dependencies, fix incompatibilities
2024-09-30 19:54:21 +02:00
Gergő Sályi
d7c90011cd
Update PKGBUILD to 0.1.7 release
2024-05-11 01:22:47 +02:00
Gergő Sályi
3c2eb7cc6c
Prepare release 0.1.7
2024-05-11 01:12:06 +02:00
Gergő Sályi
abb85692e4
Add --pixelformat cli argument
...
Enables setting --pixelformat=baseline
to force wl_buffers to use the wayland default xrgb8888
2024-05-11 00:55:54 +02:00
Gergő Sályi
1e05e8c5c3
Update dependencies
2024-05-11 00:01:43 +02:00
Gergő Sályi
ec22b1cb65
Also align wl_buffer stride to 4 for any pixel format
...
bgr888 buffers may have a stride only aligned to 3, this caused issues:
https://github.com/gergo-salyi/multibg-sway/issues/6
2024-05-10 23:45:16 +02:00
Gergő Sályi
3d7392b698
Update PKGBUILD to 0.1.6 release
2024-03-25 15:18:46 +01:00
Gergő Sályi
76e71b63de
Prepare release 0.1.6
2024-03-25 15:03:19 +01:00
Gergő Sályi
2711872a53
Add support for outputs with fractional scale factor
...
Hopefully this will help displaying the wallpapers correctly
on outputs with fractional scale factor:
https://github.com/gergo-salyi/multibg-sway/issues/5
2024-03-25 14:09:44 +01:00
Gergő Sályi
d55a0ae932
Update dependencies
2024-03-25 02:35:26 +01:00
Gergő Sályi
55072e6103
Update PKGBUILD to 0.1.5 release
2024-01-02 21:20:12 +01:00
Gergő Sályi
46be819969
Prepare release 0.1.5
2024-01-02 21:10:15 +01:00
Gergő Sályi
8e20b360ae
Consider integer scale factor for LayerSurface and WlSurface
...
Hopefully this will help displaying the wallpapers correctly
on outputs with higher than 1 integer scale factor:
https://github.com/gergo-salyi/multibg-sway/issues/4
2024-01-02 20:51:14 +01:00
Gergő Sályi
67abbb9a37
Remove inactive and superseded code
2024-01-02 18:58:59 +01:00
Gergő Sályi
3fc86cbf96
Update dependencies, fix incompatibilities
2024-01-02 18:42:50 +01:00
Gergő Sályi
f9941357be
Fixup readme
2023-08-31 18:42:50 +02:00