aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-01-27spec: Don't set XDG_RUNTIME_DIRIvan Molodetskikh
It should once again no longer be necessary.
2025-01-27Don't create on-disk sockets in testsIvan Molodetskikh
2025-01-27Use Niri::insert_client() in testsIvan Molodetskikh
2025-01-27Extract Niri::insert_client()Ivan Molodetskikh
2025-01-26Extend switch-layout action to accept layout index (#1045)Evgeny Zemtsov
* Extend switch-layout action to accept layout index * Update src/input/mod.rs --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-26CI: Don't forget to build randomized tests in releaseIvan Molodetskikh
2025-01-26CI: Further reduce the number of proptest casesIvan Molodetskikh
2025-01-26CI: Reduce number of proptest casesIvan Molodetskikh
2025-01-26CI: Add a randomized tests jobIvan Molodetskikh
2025-01-26CI: Write out dependencies once at the topIvan Molodetskikh
2025-01-25Switch Smithay back to gitIvan Molodetskikh
Release currently has an unfortunate merge that breaks IMEs.
2025-01-25Add move-workspace-to-index and move-workspace-to-monitor actions (#1007)Kirottu
* Added move-workspace-to-index and move-workspace-to-monitor IPC actions * Added redraws to the workspace handling actions, fixed tests that panicked, fixed other mentioned problems. * Fixed workspace focusing and handling numbered workspaces with `move-workspace-to-index` * Fixed more inconsistencies with move-workspace-to-monitor * Added back `self.workspace_switch = None` * Reordered some workspace cleanup logic * Fix formatting * Add missing blank lines * Fix moving workspace to same monitor and wrong current index updating * Move function up and add fixme comment --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-25CI: Remove version string from msrv jobIvan Molodetskikh
Required checks on GitHub need to be updated every time otherwise.
2025-01-25wiki: Add clipboard sectionIvan Molodetskikh
2025-01-25Add clipboard disable-primary settingpeelz
2025-01-24Update Smithay to a crates.io versionIvan Molodetskikh
What a time to be alive
2025-01-23Add `scroll-factor` window rulebbb651
2025-01-23Add find_root_shell_surface() that goes through popupsIvan Molodetskikh
2025-01-23Add toggle-window-rule-opacity actionIvan Molodetskikh
2025-01-21build(deps): bump clap in the rust-dependencies groupdependabot[bot]
Bumps the rust-dependencies group with 1 update: [clap](https://github.com/clap-rs/clap). Updates `clap` from 4.5.26 to 4.5.27 - [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.26...clap_complete-v4.5.27) --- updated-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-21Implement shadows for layer surfacesIvan Molodetskikh
2025-01-21wiki: Add missing property to window rules exampleIvan Molodetskikh
2025-01-21Extract Niri::update_shaders()Ivan Molodetskikh
2025-01-21Add update_render_elements() to MappedLayerIvan Molodetskikh
2025-01-21tile: Rename update() to update_render_elements()Ivan Molodetskikh
2025-01-21Fix two commentsIvan Molodetskikh
2025-01-20build(deps): bump the rust-dependencies group with 2 updatesdependabot[bot]
Bumps the rust-dependencies group with 2 updates: [sd-notify](https://github.com/lnicola/sd-notify) and [serde_json](https://github.com/serde-rs/json). Updates `sd-notify` from 0.4.4 to 0.4.5 - [Changelog](https://github.com/lnicola/sd-notify/blob/master/CHANGELOG.md) - [Commits](https://github.com/lnicola/sd-notify/compare/v0.4.4...v0.4.5) Updates `serde_json` from 1.0.135 to 1.0.137 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.135...v1.0.137) --- updated-dependencies: - dependency-name: sd-notify dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20build(deps): bump the smithay group with 2 updatesdependabot[bot]
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-18Remove Vec from Shadow::render()Ivan Molodetskikh
2025-01-18implement `keyboard-shortcuts-inhibit` and `wlr-virtual-pointer` (#630)sodiboo
* 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-17Implement window shadowsIvan Molodetskikh
2025-01-17build(deps): bump sd-notify in the rust-dependencies groupdependabot[bot]
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-17dbus: DisplayConfig: implement apply_monitors_configVal Packett
This enables gnome-control-center to apply display configuration changes. Only temporarily, persistence is ignored currently.
2025-01-17dbus: DisplayConfig: report fractional scales as supportedVal Packett
2025-01-17dbus: DisplayConfig: report disabled monitors in get_current_stateVal Packett
This is required for gnome-control-center to be able to turn monitors back on.
2025-01-17dbus: DisplayConfig: add properties required by display settings panelVal Packett
2025-01-16build(deps): bump the rust-dependencies group with 2 updatesdependabot[bot]
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-15Remove obsolete commentIvan Molodetskikh
2025-01-15Rename FoIPosition to FloatingPositionIvan Molodetskikh
2025-01-15build(deps): bump the smithay group with 2 updatesdependabot[bot]
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-14clipped_surface: Store complete uniforms in the structIvan Molodetskikh
This mistake shall never happen again.
2025-01-14Add missing clipped surface uniformIvan Molodetskikh
2025-01-14add write-to-disk argument to screenshot actionsGustav Sörnäs
2025-01-14build(deps): bump the smithay group with 2 updatesdependabot[bot]
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-14make niri-session POSIX compatible (#970)Erica Z
* make niri-session POSIX compatible * Update resources/niri-session --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-13build(deps): bump directories from 5.0.1 to 6.0.0dependabot[bot]
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-13build(deps): bump zbus in the rust-dependencies groupdependabot[bot]
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-13Support `WAYLAND_SOCKET` in winit backendbbb651
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-13Highlight that the path in niri.service should be checked (#962)mrheinen
* 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-12use standard padding syntax instead of implementing our ownsodiboo
the padding of the two-digit-month can be implemented much more concisely using `std::fmt` syntax.