Ivan Molodetskikh
c98537a2b0
Implement baba-is-float for layers
2025-05-12 09:10:59 +03:00
Ivan Molodetskikh
9c103f1f1d
Add missing "to" in comment
2025-05-12 08:26:39 +03:00
Ivan Molodetskikh
2aff1ec71a
ipc/socket: Support multiple requests
2025-05-11 21:51:26 -07:00
Jon Heinritz
3466fc0a66
ipc: document the new socket behavior
2025-05-11 21:51:26 -07:00
Jon Heinritz
f917932b3e
ipc: support long living sockets
2025-05-11 21:51:26 -07:00
Ivan Molodetskikh
89b7423ee5
Print urgent status in niri msg windows
2025-05-10 23:43:00 +03:00
Ivan Molodetskikh
a2efaf2816
Add is-urgent window rule matcher
2025-05-10 22:49:55 +03:00
Ivan Molodetskikh
5816691460
Add urgent color support to tab indicators
2025-05-10 22:42:45 +03:00
Ivan Molodetskikh
4b5e9e6cb0
wiki: Document urgent-color
2025-05-10 22:42:45 +03:00
Duncan Overbruck
a8259b4cea
add WindowUrgencyChanged ipc event
2025-05-10 12:14:41 -07:00
Duncan Overbruck
9d3d7cb0e9
add {toggle,set,unset}-urgent cli actions
2025-05-10 12:14:41 -07:00
Duncan Overbruck
398bc78ea0
add urgent border color and gradient
2025-05-10 12:14:41 -07:00
Duncan Overbruck
caa6189448
add workspace urgency ipc event
2025-05-10 12:14:41 -07:00
Duncan Overbruck
86f57c2ec7
add window urgency through xdg-activation-v1
...
urgency is done through activation requests without a serial from a
previous interaction.
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/150
2025-05-10 12:14:41 -07:00
Charlie Le
3cc67897af
Implement IPC for the overview state ( #1526 )
...
* Implement IPC for the overview state
* Update Overview IPC to maintain naming consistency, renamed OverviewToggled to be more clear, simplify overview state request on the server, consolidate ipc refresh
* Fix Overview is_open in IPC client
* Change opened to is_open
* Update niri-ipc/src/lib.rs
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
* Update niri-ipc/src/state.rs
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
* Update src/ipc/client.rs
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
* Update src/ipc/client.rs
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
* Add overview state to EventStreamStatePart replicate and apply
* Fix formatting
* Rename Overview to OverviewState
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-05-09 18:01:01 +03:00
dependabot[bot]
a99489c6c0
build(deps): bump clap_complete in the rust-dependencies group
...
Bumps the rust-dependencies group with 1 update: [clap_complete](https://github.com/clap-rs/clap ).
Updates `clap_complete` from 4.5.49 to 4.5.50
- [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.49...clap_complete-v4.5.50 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-version: 4.5.50
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-09 07:38:04 -07:00
Ivan Molodetskikh
0763c7e196
Add a clickable button to capture the screenshot
...
Allows tablet-, touch- and mouse-only confirmation.
2025-05-09 15:42:23 +03:00
Ivan Molodetskikh
fb5c5204e8
Extract confirm_screenshot()
2025-05-09 15:41:57 +03:00
Ivan Molodetskikh
d207cd385b
screenshot_ui: Refactor mouse down + touch slot state
2025-05-09 15:10:00 +03:00
Ivan Molodetskikh
99bf2df2b4
Silence new zvariant De/SerializeDict deprecations
...
Questionable exercise converting to serde with much more boilerplate, and
breaking compat with older zvariant versions. Plus maybe this will be
undeprecated back.
2025-05-09 10:35:16 +03:00
Ivan Molodetskikh
09be90f4e6
Add touch selection support to the screenshot UI
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
dfc42b9d82
Split ScreenshotUi::pointer_down() and up()
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
e2b9838d89
Extract evt.slot()
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
816a0d479c
Rename touch_location to pos
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
84323d10a4
Support tablet input for screenshot UI selection
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
b956f2775c
Use early return
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
9ff2f83db0
Simplify ScreenshotUi::pointer_button()
2025-05-09 10:28:20 +03:00
James Sully
7a10f71ee5
refactor(main): eliminate a mut from config load code in main
...
I think this makes for marginally better readability, since you don't
have to wonder whether config_errored is set anywhere else. It's also
slightly terser.
2025-05-09 00:25:54 -07:00
James Sully
ea7add3563
fix: don't try to create a default config at path that exists
...
Currently this bug has no actual consequences, we just continue silently
on AlreadyExists in main()
(this line: https://github.com/YaLTeR/niri/blob/e9c6f08906143c3fec1ad1301d538bef4cbc1978/src/main.rs#L151 ).
This commit just eliminates the redundant attempt.
2025-05-08 21:52:39 -07:00
Ivan Molodetskikh
e9c6f08906
Add a resize transaction client-server test
2025-05-07 22:59:57 +03:00
Ivan Molodetskikh
17343a6740
wiki: Fix Until note location
2025-05-06 17:42:14 +03:00
Ivan Molodetskikh
140d726cd3
wiki: Clarify that layers within backdrop ignore input
2025-05-06 17:40:52 +03:00
Ivan Molodetskikh
c37d3b3442
wiki: Link to output backdrop-color from overview {}
2025-05-06 17:34:40 +03:00
Ivan Molodetskikh
497f186422
Add layout background-color setting
2025-05-06 17:34:40 +03:00
Ivan Molodetskikh
3e31c134a6
Implement place-within-backdrop layer rule
2025-05-06 17:34:40 +03:00
Ivan Molodetskikh
fe682938db
Simplify exclusive focus on layer check
2025-05-06 17:34:40 +03:00
Ivan Molodetskikh
6142922ca4
wiki: Mention Overview behavior on layer-shell page
2025-05-06 17:34:40 +03:00
Ivan Molodetskikh
4b44fba14c
wiki: Clarify FAQ question about border with background
2025-05-06 17:34:40 +03:00
dependabot[bot]
57639ca84c
build(deps): bump the rust-dependencies group across 1 directory with 3 updates
...
Bumps the rust-dependencies group with 3 updates in the / directory: [clap_complete](https://github.com/clap-rs/clap ), [glam](https://github.com/bitshifter/glam-rs ) and [zbus](https://github.com/dbus2/zbus ).
Updates `clap_complete` from 4.5.48 to 4.5.49
- [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.48...clap_complete-v4.5.49 )
Updates `glam` from 0.30.2 to 0.30.3
- [Changelog](https://github.com/bitshifter/glam-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitshifter/glam-rs/compare/0.30.2...0.30.3 )
Updates `zbus` from 5.5.0 to 5.6.0
- [Release notes](https://github.com/dbus2/zbus/releases )
- [Commits](https://github.com/dbus2/zbus/compare/zbus-5.5.0...zbus-5.6.0 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-version: 4.5.49
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: glam
dependency-version: 0.30.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: zbus
dependency-version: 5.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-06 01:38:03 -07:00
Ivan Molodetskikh
ec88aae77d
wiki: Add Since to numlock
2025-05-05 20:29:55 +03:00
Ivan Molodetskikh
6c9705dd4b
layout/scrolling: Update view offset on config update
...
Fix always-centering not applied right away. No other changes intended.
2025-05-01 21:37:34 +03:00
Aberter Yan
eb590c5346
Implement --focus for MoveColumnToWorkspace/Up/Down
2025-05-01 11:06:34 -07:00
Ivan Molodetskikh
02baad91ac
wiki: Clarify how key bindings are resolved
2025-05-01 16:28:28 +03:00
Ivan Molodetskikh
68589cd5a1
wiki: Remove "experimental" from custom shaders
...
They've been around for a while.
2025-05-01 11:19:38 +03:00
Ivan Molodetskikh
f2c690802b
Adjust the workspace shadow defaults some more
2025-05-01 11:04:47 +03:00
Ivan Molodetskikh
9d6037b94c
Normalize workspace shadows to 1080 px tall screen, adjust defaults
...
Workspace gaps are dependent on screen size, so it makes sense to make shadows
depend on the screen size to, to avoid them filling more or less of the gap.
2025-05-01 10:33:53 +03:00
Ivan Molodetskikh
7b4cf094ef
Draw workspace shadows behind all workspaces
2025-05-01 10:10:11 +03:00
Ivan Molodetskikh
446bc155ce
Add workspace-shadow {} config to overview {}
2025-05-01 09:45:38 +03:00
Ivan Molodetskikh
3289324ce4
wiki: Use subheadings for overview settings
2025-05-01 09:36:39 +03:00
Ivan Molodetskikh
9fb02b9571
layout: Fix DnD scroll not stopping when interactive moving unfullscreen to floating
2025-04-30 20:32:56 +03:00