dependabot[bot]
01285bdbbe
build(deps): bump the smithay group with 2 updates
...
Bumps the smithay group with 2 updates: [smithay](https://github.com/Smithay/smithay ) and [smithay-drm-extras](https://github.com/Smithay/smithay ).
Updates `smithay` from `fe31867` to `953959e`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/fe31867e3afac2543c4016fb8ed99df3e11eb6da...953959e6069b3e14dba96fdaa46c65990c21d5c9 )
Updates `smithay-drm-extras` from `fe31867` to `953959e`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/fe31867e3afac2543c4016fb8ed99df3e11eb6da...953959e6069b3e14dba96fdaa46c65990c21d5c9 )
---
updated-dependencies:
- dependency-name: smithay
dependency-type: direct:production
dependency-group: smithay
- dependency-name: smithay-drm-extras
dependency-type: direct:production
dependency-group: smithay
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-20 13:51:41 +03:00
Ivan Molodetskikh
8182484572
Remove Vec from Shadow::render()
2025-01-18 17:43:58 +03:00
sodiboo
0584dd2f1e
implement keyboard-shortcuts-inhibit and wlr-virtual-pointer ( #630 )
...
* stub keyboard-shortcuts-inhibit and virtual-pointer impls
* implement keyboard-shortcuts-inhibit
* implement virtual-pointer
* deal with supressed key release edge-case; add allow-inhibiting property
* add toggle-keyboard-shortcuts-inhibit bind
* add InputBackend extensions; use Device::output() for absolute pos events
* add a `State` parameter to the backend exts and better document future intent
* Add some tests for is_inhibiting_shortcuts
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-01-18 17:26:42 +03:00
Ivan Molodetskikh
bd559a2660
Implement window shadows
2025-01-17 23:10:01 +03:00
dependabot[bot]
b4add625b2
build(deps): bump sd-notify in the rust-dependencies group
...
Bumps the rust-dependencies group with 1 update: [sd-notify](https://github.com/lnicola/sd-notify ).
Updates `sd-notify` from 0.4.3 to 0.4.4
- [Changelog](https://github.com/lnicola/sd-notify/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lnicola/sd-notify/compare/v0.4.3...v0.4.4 )
---
updated-dependencies:
- dependency-name: sd-notify
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-17 11:34:41 +03:00
Val Packett
890bbff007
dbus: DisplayConfig: implement apply_monitors_config
...
This enables gnome-control-center to apply display configuration
changes. Only temporarily, persistence is ignored currently.
2025-01-17 11:16:10 +03:00
Val Packett
b853d5b124
dbus: DisplayConfig: report fractional scales as supported
2025-01-17 11:16:10 +03:00
Val Packett
693e0e09f7
dbus: DisplayConfig: report disabled monitors in get_current_state
...
This is required for gnome-control-center to be able to turn
monitors back on.
2025-01-17 11:16:10 +03:00
Val Packett
d52356b131
dbus: DisplayConfig: add properties required by display settings panel
2025-01-17 11:16:10 +03:00
dependabot[bot]
b11b995d03
build(deps): bump the rust-dependencies group with 2 updates
...
Bumps the rust-dependencies group with 2 updates: [bitflags](https://github.com/bitflags/bitflags ) and [log](https://github.com/rust-lang/log ).
Updates `bitflags` from 2.7.0 to 2.8.0
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.7.0...2.8.0 )
Updates `log` from 0.4.22 to 0.4.25
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.22...0.4.25 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-16 12:51:04 +03:00
Ivan Molodetskikh
99ba295082
Remove obsolete comment
2025-01-15 15:18:11 +03:00
Ivan Molodetskikh
8c2b5957eb
Rename FoIPosition to FloatingPosition
2025-01-15 14:29:35 +03:00
dependabot[bot]
4472164447
build(deps): bump the smithay group with 2 updates
...
Bumps the smithay group with 2 updates: [smithay](https://github.com/Smithay/smithay ) and [smithay-drm-extras](https://github.com/Smithay/smithay ).
Updates `smithay` from `2a0d430` to `fe31867`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/2a0d4307430dc478b0b2f278bc5dc56ec02aa5ca...fe31867e3afac2543c4016fb8ed99df3e11eb6da )
Updates `smithay-drm-extras` from `2a0d430` to `fe31867`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/2a0d4307430dc478b0b2f278bc5dc56ec02aa5ca...fe31867e3afac2543c4016fb8ed99df3e11eb6da )
---
updated-dependencies:
- dependency-name: smithay
dependency-type: direct:production
dependency-group: smithay
- dependency-name: smithay-drm-extras
dependency-type: direct:production
dependency-group: smithay
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-15 12:32:32 +03:00
Ivan Molodetskikh
a3cbe3514b
clipped_surface: Store complete uniforms in the struct
...
This mistake shall never happen again.
2025-01-14 21:25:17 +03:00
Ivan Molodetskikh
efa7c862a4
Add missing clipped surface uniform
2025-01-14 21:19:05 +03:00
Gustav Sörnäs
0df7a085de
add write-to-disk argument to screenshot actions
2025-01-14 13:39:52 +03:00
dependabot[bot]
6ae51f287c
build(deps): bump the smithay group with 2 updates
...
Bumps the smithay group with 2 updates: [smithay](https://github.com/Smithay/smithay ) and [smithay-drm-extras](https://github.com/Smithay/smithay ).
Updates `smithay` from `e1a863b` to `2a0d430`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/e1a863b3ffc2d560007e3b89e5bbe9500c69221e...2a0d4307430dc478b0b2f278bc5dc56ec02aa5ca )
Updates `smithay-drm-extras` from `e1a863b` to `2a0d430`
- [Release notes](https://github.com/Smithay/smithay/releases )
- [Commits](https://github.com/Smithay/smithay/compare/e1a863b3ffc2d560007e3b89e5bbe9500c69221e...2a0d4307430dc478b0b2f278bc5dc56ec02aa5ca )
---
updated-dependencies:
- dependency-name: smithay
dependency-type: direct:production
dependency-group: smithay
- dependency-name: smithay-drm-extras
dependency-type: direct:production
dependency-group: smithay
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-14 11:35:00 +03:00
Erica Z
36076d5279
make niri-session POSIX compatible ( #970 )
...
* make niri-session POSIX compatible
* Update resources/niri-session
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-01-14 09:41:50 +03:00
dependabot[bot]
427c4e3982
build(deps): bump directories from 5.0.1 to 6.0.0
...
Bumps [directories](https://github.com/soc/directories-rs ) from 5.0.1 to 6.0.0.
- [Commits](https://github.com/soc/directories-rs/commits )
---
updated-dependencies:
- dependency-name: directories
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-13 13:36:17 +03:00
dependabot[bot]
1632ce87a5
build(deps): bump zbus in the rust-dependencies group
...
Bumps the rust-dependencies group with 1 update: [zbus](https://github.com/dbus2/zbus ).
Updates `zbus` from 5.2.0 to 5.3.0
- [Release notes](https://github.com/dbus2/zbus/releases )
- [Commits](https://github.com/dbus2/zbus/compare/zbus-5.2.0...zbus-5.3.0 )
---
updated-dependencies:
- dependency-name: zbus
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-13 13:35:10 +03:00
bbb651
c523c80598
Support WAYLAND_SOCKET in winit backend
...
I know of a single compositor that supports `WAYLAND_SOCKET` but not
`WAYLAND_DISPLAY`: https://gitlab.freedesktop.org/mstoeckl/windowtolayer
This should also make niri more robust against accidentally setting
`WAYLAND_SOCKET` when starting as a session, before programs could fail
if they preffered `WAYLAND_SOCKET` over `WAYLAND_DISPLAY`
2025-01-13 08:19:17 +03:00
mrheinen
0bd6df507b
Highlight that the path in niri.service should be checked ( #962 )
...
* Highlight that the path in niri.service should be checked
Having just installed niri I ran into this issue. When building from source on Ubuntu the install location using the instructions in this document is /usr/local//bin/niri.
However niri.service pointed to /usr/bin/niri so my session would not start at all. Hopefully this update helps
* Update wiki/Getting-Started.md
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-01-13 06:59:21 +03:00
sodiboo
6e41220dbf
use standard padding syntax instead of implementing our own
...
the padding of the two-digit-month can be implemented much more
concisely using `std::fmt` syntax.
2025-01-12 21:38:51 +03:00
Ivan Molodetskikh
e05bc269e6
README: Update screenshot
v25.01
2025-01-11 19:53:25 +03:00
Ivan Molodetskikh
d574341f1f
wiki: Add missing period
2025-01-11 09:10:45 +03:00
Ivan Molodetskikh
481958f8f7
wiki: Document version string in Packaging
2025-01-11 09:09:25 +03:00
Ivan Molodetskikh
4094469d59
README: Replace next release with version
2025-01-11 09:00:15 +03:00
Ivan Molodetskikh
2261fcb631
wiki: Add Packaging niri page
2025-01-11 08:59:39 +03:00
Ivan Molodetskikh
279c8b6aa2
Back out "rpkg: Print license summary"
...
This backs out commit 89c991b636 .
2025-01-10 17:10:21 +03:00
Ivan Molodetskikh
e35c630c1d
Format version as calver automatically
2025-01-10 16:37:46 +03:00
Ivan Molodetskikh
d3047afa7f
rpkg: Set NIRI_BUILD_COMMIT in cargo.toml
2025-01-10 16:19:06 +03:00
Ivan Molodetskikh
a03783f54c
CI: Add permission to release
2025-01-10 16:04:19 +03:00
Ivan Molodetskikh
cbf0d6190d
rpkg: Update licenses
2025-01-10 16:02:30 +03:00
Ivan Molodetskikh
89c991b636
rpkg: Print license summary
2025-01-10 15:59:22 +03:00
Ivan Molodetskikh
bbbd35e9ef
CI: Fix grep check
2025-01-10 15:42:22 +03:00
Ivan Molodetskikh
c308be315d
wiki: Put version in Since: next release
2025-01-10 15:39:02 +03:00
Ivan Molodetskikh
d825e3125e
CI: Add a prepare-release workflow
2025-01-10 15:28:50 +03:00
Ivan Molodetskikh
64288de04e
rpkg: Use NIRI_BUILD_COMMIT
2025-01-10 15:25:49 +03:00
Ivan Molodetskikh
fb4471e69d
Add NIRI_BUILD_COMMIT env variable override
2025-01-10 15:20:27 +03:00
Ivan Molodetskikh
8be8694f5f
Add NIRI_BUILD_VERSION_STRING env variable to override the version
2025-01-10 15:17:04 +03:00
Ivan Molodetskikh
60b78dc2cd
Bump version to 25.01
2025-01-10 15:16:36 +03:00
Ivan Molodetskikh
80fe5a8167
CI: Rearrange some dependencies
2025-01-10 15:15:50 +03:00
dependabot[bot]
df58c49876
build(deps): bump the rust-dependencies group with 2 updates
...
Bumps the rust-dependencies group with 2 updates: [bitflags](https://github.com/bitflags/bitflags ) and [clap](https://github.com/clap-rs/clap ).
Updates `bitflags` from 2.6.0 to 2.7.0
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.6.0...2.7.0 )
Updates `clap` from 4.5.24 to 4.5.26
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.24...clap_complete-v4.5.26 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-10 11:40:45 +03:00
Ivan Molodetskikh
7dee2f6995
Fix two manual let-else
2025-01-10 09:11:31 +03:00
Ivan Molodetskikh
623687e59b
Fix new Clippy warnings
2025-01-10 09:11:31 +03:00
rustn00b
5958d3be62
Allow workspace names to be changed dynamically ( #904 )
...
* Add un/set workspace name actions
* Add SetWorkspaceName reference to proptests
* Simplify unname_workspace
* Add ewaf version of set first workspace name test
* Simplify more
* Fix comment
* Make workspace in set-workspace-name a positional option
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-01-10 06:03:19 +00:00
Ivan Molodetskikh
142e57450d
Add missing interactively moved window check in center_window
2025-01-09 11:55:01 +03:00
rustn00b
80815a1591
Add a window swap operation ( #899 )
...
Swap the active window with the a neighboring column's active window.
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
Take into account PR comments
- no longer behave like an expel when a swap is made in a direction
where there is no column to swap with
- fix janky animation
2025-01-09 08:29:36 +00:00
Ivan Molodetskikh
8412bfb813
Add missing cursor warp when focusing floating/tiling
2025-01-09 10:49:24 +03:00
Ivan Molodetskikh
a0f279691a
Update dependencies
2025-01-09 10:23:44 +03:00