Bump version to 25.02
Browse files at this commitb94a5db8790339cf9134873d8b490be69e02ac71Parent: 4a4dcb815 changed files +33 -40
- Cargo.lock +4 -4
- Cargo.toml +4 -4
- niri-config/Cargo.toml +1 -1
- niri-ipc/README.md +1 -1
- niri-ipc/src/lib.rs +1 -1
- niri-visual-tests/Cargo.toml +2 -2
- wiki/Configuration:-Gestures.md +1 -1
- wiki/Configuration:-Input.md +3 -3
- wiki/Configuration:-Key-Bindings.md +2 -2
- wiki/Configuration:-Layer-Rules.md +2 -2
- wiki/Configuration:-Layout.md +4 -11
- wiki/Configuration:-Named-Workspaces.md +1 -1
- wiki/Configuration:-Window-Rules.md +5 -5
- wiki/Gestures.md +1 -1
- wiki/Tabs.md +1 -1
Cargo.lockmodified+4 -4
| @@ -2200,7 +2200,7 @@ dependencies = [ | |||
| 2200 | 2200 | ||
| 2201 | [[package]] | 2201 | [[package]] |
| 2202 | name = "niri" | 2202 | name = "niri" |
| 2203 | -version = "25.1.0" | 2203 | +version = "25.2.0" |
| 2204 | dependencies = [ | 2204 | dependencies = [ |
| 2205 | "anyhow", | 2205 | "anyhow", |
| 2206 | "approx 0.5.1", | 2206 | "approx 0.5.1", |
| @@ -2256,7 +2256,7 @@ dependencies = [ | |||
| 2256 | 2256 | ||
| 2257 | [[package]] | 2257 | [[package]] |
| 2258 | name = "niri-config" | 2258 | name = "niri-config" |
| 2259 | -version = "25.1.0" | 2259 | +version = "25.2.0" |
| 2260 | dependencies = [ | 2260 | dependencies = [ |
| 2261 | "bitflags 2.8.0", | 2261 | "bitflags 2.8.0", |
| 2262 | "csscolorparser", | 2262 | "csscolorparser", |
| @@ -2273,7 +2273,7 @@ dependencies = [ | |||
| 2273 | 2273 | ||
| 2274 | [[package]] | 2274 | [[package]] |
| 2275 | name = "niri-ipc" | 2275 | name = "niri-ipc" |
| 2276 | -version = "25.1.0" | 2276 | +version = "25.2.0" |
| 2277 | dependencies = [ | 2277 | dependencies = [ |
| 2278 | "clap", | 2278 | "clap", |
| 2279 | "schemars", | 2279 | "schemars", |
| @@ -2283,7 +2283,7 @@ dependencies = [ | |||
| 2283 | 2283 | ||
| 2284 | [[package]] | 2284 | [[package]] |
| 2285 | name = "niri-visual-tests" | 2285 | name = "niri-visual-tests" |
| 2286 | -version = "25.1.0" | 2286 | +version = "25.2.0" |
| 2287 | dependencies = [ | 2287 | dependencies = [ |
| 2288 | "anyhow", | 2288 | "anyhow", |
| 2289 | "gtk4", | 2289 | "gtk4", |
Cargo.tomlmodified+4 -4
| @@ -6,7 +6,7 @@ members = [ | |||
| 6 | ] | 6 | ] |
| 7 | 7 | ||
| 8 | [workspace.package] | 8 | [workspace.package] |
| 9 | -version = "25.1.0" | 9 | +version = "25.2.0" |
| 10 | description = "A scrollable-tiling Wayland compositor" | 10 | description = "A scrollable-tiling Wayland compositor" |
| 11 | authors = ["Ivan Molodetskikh <yalterz@gmail.com>"] | 11 | authors = ["Ivan Molodetskikh <yalterz@gmail.com>"] |
| 12 | license = "GPL-3.0-or-later" | 12 | license = "GPL-3.0-or-later" |
| @@ -70,8 +70,8 @@ keyframe = { version = "1.1.1", default-features = false } | |||
| 70 | libc = "0.2.169" | 70 | libc = "0.2.169" |
| 71 | libdisplay-info = "0.2.2" | 71 | libdisplay-info = "0.2.2" |
| 72 | log = { version = "0.4.25", features = ["max_level_trace", "release_max_level_debug"] } | 72 | log = { version = "0.4.25", features = ["max_level_trace", "release_max_level_debug"] } |
| 73 | -niri-config = { version = "25.1.0", path = "niri-config" } | 73 | +niri-config = { version = "25.2.0", path = "niri-config" } |
| 74 | -niri-ipc = { version = "25.1.0", path = "niri-ipc", features = ["clap"] } | 74 | +niri-ipc = { version = "25.2.0", path = "niri-ipc", features = ["clap"] } |
| 75 | ordered-float = "5.0.0" | 75 | ordered-float = "5.0.0" |
| 76 | pango = { version = "0.20.9", features = ["v1_44"] } | 76 | pango = { version = "0.20.9", features = ["v1_44"] } |
| 77 | pangocairo = "0.20.7" | 77 | pangocairo = "0.20.7" |
| @@ -151,7 +151,7 @@ insta.opt-level = 3 | |||
| 151 | similar.opt-level = 3 | 151 | similar.opt-level = 3 |
| 152 | 152 | ||
| 153 | [package.metadata.generate-rpm] | 153 | [package.metadata.generate-rpm] |
| 154 | -version = "25.01" | 154 | +version = "25.02" |
| 155 | assets = [ | 155 | assets = [ |
| 156 | { source = "target/release/niri", dest = "/usr/bin/", mode = "755" }, | 156 | { source = "target/release/niri", dest = "/usr/bin/", mode = "755" }, |
| 157 | { source = "resources/niri-session", dest = "/usr/bin/", mode = "755" }, | 157 | { source = "resources/niri-session", dest = "/usr/bin/", mode = "755" }, |
niri-config/Cargo.tomlmodified+1 -1
| @@ -12,7 +12,7 @@ bitflags.workspace = true | |||
| 12 | csscolorparser = "0.7.0" | 12 | csscolorparser = "0.7.0" |
| 13 | knuffel = "3.2.0" | 13 | knuffel = "3.2.0" |
| 14 | miette = { version = "5.10.0", features = ["fancy-no-backtrace"] } | 14 | miette = { version = "5.10.0", features = ["fancy-no-backtrace"] } |
| 15 | -niri-ipc = { version = "25.1.0", path = "../niri-ipc" } | 15 | +niri-ipc = { version = "25.2.0", path = "../niri-ipc" } |
| 16 | regex = "1.11.1" | 16 | regex = "1.11.1" |
| 17 | smithay = { workspace = true, features = ["backend_libinput"] } | 17 | smithay = { workspace = true, features = ["backend_libinput"] } |
| 18 | tracing.workspace = true | 18 | tracing.workspace = true |
niri-ipc/README.mdmodified+1 -1
| @@ -12,5 +12,5 @@ Use an exact version requirement to avoid breaking changes: | |||
| 12 | 12 | ||
| 13 | ```toml | 13 | ```toml |
| 14 | [dependencies] | 14 | [dependencies] |
| 15 | -niri-ipc = "=25.1.0" | 15 | +niri-ipc = "=25.2.0" |
| 16 | ``` | 16 | ``` |
niri-ipc/src/lib.rsmodified+1 -1
| @@ -24,7 +24,7 @@ | |||
| 24 | //! | 24 | //! |
| 25 | //! ```toml | 25 | //! ```toml |
| 26 | //! [dependencies] | 26 | //! [dependencies] |
| 27 | -//! niri-ipc = "=25.1.0" | 27 | +//! niri-ipc = "=25.2.0" |
| 28 | //! ``` | 28 | //! ``` |
| 29 | //! | 29 | //! |
| 30 | //! ## Features | 30 | //! ## Features |
niri-visual-tests/Cargo.tomlmodified+2 -2
| @@ -11,8 +11,8 @@ repository.workspace = true | |||
| 11 | adw = { version = "0.7.1", package = "libadwaita", features = ["v1_4"] } | 11 | adw = { version = "0.7.1", package = "libadwaita", features = ["v1_4"] } |
| 12 | anyhow.workspace = true | 12 | anyhow.workspace = true |
| 13 | gtk = { version = "0.9.6", package = "gtk4", features = ["v4_12"] } | 13 | gtk = { version = "0.9.6", package = "gtk4", features = ["v4_12"] } |
| 14 | -niri = { version = "25.1.0", path = ".." } | 14 | +niri = { version = "25.2.0", path = ".." } |
| 15 | -niri-config = { version = "25.1.0", path = "../niri-config" } | 15 | +niri-config = { version = "25.2.0", path = "../niri-config" } |
| 16 | smithay.workspace = true | 16 | smithay.workspace = true |
| 17 | tracing.workspace = true | 17 | tracing.workspace = true |
| 18 | tracing-subscriber.workspace = true | 18 | tracing-subscriber.workspace = true |
wiki/Configuration:-Gestures.mdmodified+1 -1
| @@ -1,6 +1,6 @@ | |||
| 1 | ### Overview | 1 | ### Overview |
| 2 | 2 | ||
| 3 | -<sup>Since: next release</sup> | 3 | +<sup>Since: 25.02</sup> |
| 4 | 4 | ||
| 5 | The `gestures` config section contains gesture settings. | 5 | The `gestures` config section contains gesture settings. |
| 6 | For an overview of all niri gestures, see the [Gestures](./Gestures.md) wiki page. | 6 | For an overview of all niri gestures, see the [Gestures](./Gestures.md) wiki page. |
wiki/Configuration:-Input.mdmodified+3 -3
| @@ -117,7 +117,7 @@ input { | |||
| 117 | 117 | ||
| 118 | > [!TIP] | 118 | > [!TIP] |
| 119 | > | 119 | > |
| 120 | -> <sup>Since: next release</sup> | 120 | +> <sup>Since: 25.02</sup> |
| 121 | > | 121 | > |
| 122 | > Alternatively, you can directly set a path to a .xkb file containing an xkb keymap. | 122 | > Alternatively, you can directly set a path to a .xkb file containing an xkb keymap. |
| 123 | > This overrides all other xkb settings. | 123 | > This overrides all other xkb settings. |
| @@ -185,7 +185,7 @@ Settings specific to `touchpad`s: | |||
| 185 | - `tap`: tap-to-click. | 185 | - `tap`: tap-to-click. |
| 186 | - `dwt`: disable-when-typing. | 186 | - `dwt`: disable-when-typing. |
| 187 | - `dwtp`: disable-when-trackpointing. | 187 | - `dwtp`: disable-when-trackpointing. |
| 188 | -- `drag-lock`: <sup>Since: next release</sup> if set, lifting the finger off for a short time while dragging will not drop the dragged item. See the [libinput documentation](https://wayland.freedesktop.org/libinput/doc/latest/tapping.html#tap-and-drag). | 188 | +- `drag-lock`: <sup>Since: 25.02</sup> if set, lifting the finger off for a short time while dragging will not drop the dragged item. See the [libinput documentation](https://wayland.freedesktop.org/libinput/doc/latest/tapping.html#tap-and-drag). |
| 189 | - `tap-button-map`: can be `left-right-middle` or `left-middle-right`, controls which button corresponds to a two-finger tap and a three-finger tap. | 189 | - `tap-button-map`: can be `left-right-middle` or `left-middle-right`, controls which button corresponds to a two-finger tap and a three-finger tap. |
| 190 | - `click-method`: can be `button-areas` or `clickfinger`, changes the [click method](https://wayland.freedesktop.org/libinput/doc/latest/clickpad-softbuttons.html). | 190 | - `click-method`: can be `button-areas` or `clickfinger`, changes the [click method](https://wayland.freedesktop.org/libinput/doc/latest/clickpad-softbuttons.html). |
| 191 | - `disabled-on-external-mouse`: do not send events while external pointer device is plugged in. | 191 | - `disabled-on-external-mouse`: do not send events while external pointer device is plugged in. |
| @@ -200,7 +200,7 @@ Settings specific to `touchpad`, `mouse` and `tablet`: | |||
| 200 | 200 | ||
| 201 | Settings specific to `tablet`s: | 201 | Settings specific to `tablet`s: |
| 202 | 202 | ||
| 203 | -- `calibration-matrix`: <sup>Since: next release</sup> set to six floating point numbers to change the calibration matrix. See the [`LIBINPUT_CALIBRATION_MATRIX` documentation](https://wayland.freedesktop.org/libinput/doc/latest/device-configuration-via-udev.html) for examples. | 203 | +- `calibration-matrix`: <sup>Since: 25.02</sup> set to six floating point numbers to change the calibration matrix. See the [`LIBINPUT_CALIBRATION_MATRIX` documentation](https://wayland.freedesktop.org/libinput/doc/latest/device-configuration-via-udev.html) for examples. |
| 204 | 204 | ||
| 205 | Tablets and touchscreens are absolute pointing devices that can be mapped to a specific output like so: | 205 | Tablets and touchscreens are absolute pointing devices that can be mapped to a specific output like so: |
| 206 | 206 | ||
wiki/Configuration:-Key-Bindings.mdmodified+2 -2
| @@ -121,7 +121,7 @@ Note that binding `Mod+MouseLeft` or `Mod+MouseRight` will override the correspo | |||
| 121 | 121 | ||
| 122 | ### Custom Hotkey Overlay Titles | 122 | ### Custom Hotkey Overlay Titles |
| 123 | 123 | ||
| 124 | -<sup>Since: next release</sup> | 124 | +<sup>Since: 25.02</sup> |
| 125 | 125 | ||
| 126 | The hotkey overlay (the Important Hotkeys dialog) shows a hardcoded list of binds. | 126 | The hotkey overlay (the Important Hotkeys dialog) shows a hardcoded list of binds. |
| 127 | You can customize this list using the `hotkey-overlay-title` property. | 127 | You can customize this list using the `hotkey-overlay-title` property. |
| @@ -309,7 +309,7 @@ binds { | |||
| 309 | Take a screenshot of the focused screen or window respectively. | 309 | Take a screenshot of the focused screen or window respectively. |
| 310 | The screenshot is both stored to the clipboard and saved to disk, according to the [`screenshot-path` option](./Configuration:-Miscellaneous.md). | 310 | The screenshot is both stored to the clipboard and saved to disk, according to the [`screenshot-path` option](./Configuration:-Miscellaneous.md). |
| 311 | 311 | ||
| 312 | -<sup>Since: next release</sup> You can disable saving to disk for a specific bind with the `write-to-disk=false` property: | 312 | +<sup>Since: 25.02</sup> You can disable saving to disk for a specific bind with the `write-to-disk=false` property: |
| 313 | 313 | ||
| 314 | ```kdl | 314 | ```kdl |
| 315 | binds { | 315 | binds { |
wiki/Configuration:-Layer-Rules.mdmodified+2 -2
| @@ -111,7 +111,7 @@ layer-rule { | |||
| 111 | 111 | ||
| 112 | #### `shadow` | 112 | #### `shadow` |
| 113 | 113 | ||
| 114 | -<sup>Since: next release</sup> | 114 | +<sup>Since: 25.02</sup> |
| 115 | 115 | ||
| 116 | Override the shadow options for the surface. | 116 | Override the shadow options for the surface. |
| 117 | 117 | ||
| @@ -142,7 +142,7 @@ layer-rule { | |||
| 142 | 142 | ||
| 143 | #### `geometry-corner-radius` | 143 | #### `geometry-corner-radius` |
| 144 | 144 | ||
| 145 | -<sup>Since: next release</sup> | 145 | +<sup>Since: 25.02</sup> |
| 146 | 146 | ||
| 147 | Set the corner radius of the surface. | 147 | Set the corner radius of the surface. |
| 148 | 148 | ||
wiki/Configuration:-Layout.mdmodified+4 -11
| @@ -142,7 +142,7 @@ layout { | |||
| 142 | 142 | ||
| 143 | ### `default-column-display` | 143 | ### `default-column-display` |
| 144 | 144 | ||
| 145 | -<sup>Since: next release</sup> | 145 | +<sup>Since: 25.02</sup> |
| 146 | 146 | ||
| 147 | Sets the default display mode for new columns. | 147 | Sets the default display mode for new columns. |
| 148 | Can be `normal` or `tabbed`. | 148 | Can be `normal` or `tabbed`. |
| @@ -168,7 +168,7 @@ Set the widths that the `switch-preset-column-width` action (Mod+R) toggles betw | |||
| 168 | For example, you can perfectly fit four windows sized `proportion 0.25` on an output, regardless of the gaps setting. | 168 | For example, you can perfectly fit four windows sized `proportion 0.25` on an output, regardless of the gaps setting. |
| 169 | The default preset widths are <sup>1</sup>⁄<sub>3</sub>, <sup>1</sup>⁄<sub>2</sub> and <sup>2</sup>⁄<sub>3</sub> of the output. | 169 | The default preset widths are <sup>1</sup>⁄<sub>3</sub>, <sup>1</sup>⁄<sub>2</sub> and <sup>2</sup>⁄<sub>3</sub> of the output. |
| 170 | 170 | ||
| 171 | -`fixed` sets the width in logical pixels exactly. | 171 | +`fixed` sets the window width in logical pixels exactly. |
| 172 | 172 | ||
| 173 | ```kdl | 173 | ```kdl |
| 174 | layout { | 174 | layout { |
| @@ -182,13 +182,6 @@ layout { | |||
| 182 | } | 182 | } |
| 183 | ``` | 183 | ``` |
| 184 | 184 | ||
| 185 | -> [!NOTE] | ||
| 186 | -> Until next release, a preset `fixed` width does not take borders into account in the tiling layout. | ||
| 187 | -> I.e., preset `fixed 1000` with 4-wide borders will make the window 992 logical pixels wide. | ||
| 188 | -> This may eventually be corrected. | ||
| 189 | -> | ||
| 190 | -> All other ways of using `fixed` (i.e. `default-column-width` or `set-column-width`) do take borders into account and give you the exact window width that you request. | ||
| 191 | - | ||
| 192 | ### `default-column-width` | 185 | ### `default-column-width` |
| 193 | 186 | ||
| 194 | Set the default width of the new windows. | 187 | Set the default width of the new windows. |
| @@ -369,7 +362,7 @@ layout { | |||
| 369 | 362 | ||
| 370 | ### `shadow` | 363 | ### `shadow` |
| 371 | 364 | ||
| 372 | -<sup>Since: next release</sup> | 365 | +<sup>Since: 25.02</sup> |
| 373 | 366 | ||
| 374 | Shadow rendered behind a window. | 367 | Shadow rendered behind a window. |
| 375 | 368 | ||
| @@ -415,7 +408,7 @@ prefer-no-csd | |||
| 415 | 408 | ||
| 416 | ### `tab-indicator` | 409 | ### `tab-indicator` |
| 417 | 410 | ||
| 418 | -<sup>Since: next release</sup> | 411 | +<sup>Since: 25.02</sup> |
| 419 | 412 | ||
| 420 | Controls the appearance of the tab indicator that appears next to columns in tabbed display mode. | 413 | Controls the appearance of the tab indicator that appears next to columns in tabbed display mode. |
| 421 | 414 | ||
wiki/Configuration:-Named-Workspaces.mdmodified+1 -1
| @@ -42,6 +42,6 @@ Before, it could only use the connector name. | |||
| 42 | 42 | ||
| 43 | <sup>Since: 25.01</sup> You can use `set-workspace-name` and `unset-workspace-name` actions to change workspace names dynamically. | 43 | <sup>Since: 25.01</sup> You can use `set-workspace-name` and `unset-workspace-name` actions to change workspace names dynamically. |
| 44 | 44 | ||
| 45 | -<sup>Since: next release</sup> Named workspaces no longer update/forget their original output when opening a new window on them (unnamed workspaces will keep doing that). | 45 | +<sup>Since: 25.02</sup> Named workspaces no longer update/forget their original output when opening a new window on them (unnamed workspaces will keep doing that). |
| 46 | This means that named workspaces "stick" to their original output in more cases, reflecting their more permanent nature. | 46 | This means that named workspaces "stick" to their original output in more cases, reflecting their more permanent nature. |
| 47 | Explicitly moving a named workspace to a different monitor will still update its original output. | 47 | Explicitly moving a named workspace to a different monitor will still update its original output. |
wiki/Configuration:-Window-Rules.mdmodified+5 -5
| @@ -242,7 +242,7 @@ window-rule { | |||
| 242 | 242 | ||
| 243 | #### `is-window-cast-target` | 243 | #### `is-window-cast-target` |
| 244 | 244 | ||
| 245 | -<sup>Since: next release</sup> | 245 | +<sup>Since: 25.02</sup> |
| 246 | 246 | ||
| 247 | Can be `true` or `false`. | 247 | Can be `true` or `false`. |
| 248 | Matches `true` for windows that are target of an ongoing window screencast. | 248 | Matches `true` for windows that are target of an ongoing window screencast. |
| @@ -579,7 +579,7 @@ window-rule { | |||
| 579 | 579 | ||
| 580 | #### `default-column-display` | 580 | #### `default-column-display` |
| 581 | 581 | ||
| 582 | -<sup>Since: next release</sup> | 582 | +<sup>Since: 25.02</sup> |
| 583 | 583 | ||
| 584 | Set the default display mode for columns created from this window. | 584 | Set the default display mode for columns created from this window. |
| 585 | 585 | ||
| @@ -630,7 +630,7 @@ window-rule { | |||
| 630 | 630 | ||
| 631 | #### `scroll-factor` | 631 | #### `scroll-factor` |
| 632 | 632 | ||
| 633 | -<sup>Since: next release</sup> | 633 | +<sup>Since: 25.02</sup> |
| 634 | 634 | ||
| 635 | Set a scroll factor for all scroll events sent to a window. | 635 | Set a scroll factor for all scroll events sent to a window. |
| 636 | 636 | ||
| @@ -693,7 +693,7 @@ window-rule { | |||
| 693 | 693 | ||
| 694 | #### `shadow` | 694 | #### `shadow` |
| 695 | 695 | ||
| 696 | -<sup>Since: next release</sup> | 696 | +<sup>Since: 25.02</sup> |
| 697 | 697 | ||
| 698 | Override the shadow options for the window. | 698 | Override the shadow options for the window. |
| 699 | 699 | ||
| @@ -715,7 +715,7 @@ window-rule { | |||
| 715 | 715 | ||
| 716 | #### `tab-indicator` | 716 | #### `tab-indicator` |
| 717 | 717 | ||
| 718 | -<sup>Since: next release</sup> | 718 | +<sup>Since: 25.02</sup> |
| 719 | 719 | ||
| 720 | Override the tab indicator options for the window. | 720 | Override the tab indicator options for the window. |
| 721 | 721 | ||
wiki/Gestures.mdmodified+1 -1
| @@ -64,7 +64,7 @@ Move the view horizontally with three-finger horizontal swipes. | |||
| 64 | 64 | ||
| 65 | #### Drag-and-Drop Edge View Scroll | 65 | #### Drag-and-Drop Edge View Scroll |
| 66 | 66 | ||
| 67 | -<sup>Since: next release</sup> | 67 | +<sup>Since: 25.02</sup> |
| 68 | 68 | ||
| 69 | Scroll the tiling view when moving the mouse cursor against a monitor edge during drag-and-drop (DnD). | 69 | Scroll the tiling view when moving the mouse cursor against a monitor edge during drag-and-drop (DnD). |
| 70 | Also works on a touchscreen. | 70 | Also works on a touchscreen. |
wiki/Tabs.mdmodified+1 -1
| @@ -1,6 +1,6 @@ | |||
| 1 | ### Overview | 1 | ### Overview |
| 2 | 2 | ||
| 3 | -<sup>Since: next release</sup> | 3 | +<sup>Since: 25.02</sup> |
| 4 | 4 | ||
| 5 | You can switch a column to present windows as tabs, rather than as vertical tiles. | 5 | You can switch a column to present windows as tabs, rather than as vertical tiles. |
| 6 | All tabs in a column have the same window size, so this is useful to get more vertical space. | 6 | All tabs in a column have the same window size, so this is useful to get more vertical space. |