Ivan Molodetskikh
59a42249a4
Remove cancellation from swipe gestures
...
It only worked for workspace switch, and even there it was more confusing than
helpful.
2025-04-25 02:00:18 -07:00
Ivan Molodetskikh
74b016202b
Add missing bounds checks to move-workspace actions
...
Fixes panics.
2025-04-25 10:54:09 +03:00
Ivan Molodetskikh
6ab055a4b9
niri.spec.rpkg: Recommend waybar
...
Now it's spawned by the default config.
2025-04-22 22:51:56 +03:00
Ivan Molodetskikh
98bd9b7abb
niri.spec.rpkg: Fix License
2025-04-22 22:51:56 +03:00
Ivan Molodetskikh
f36e1c2ef2
default-config: Spawn waybar at startup
...
Make it a bit less of an empty screen.
2025-04-22 22:51:56 +03:00
Ivan Molodetskikh
2243615fe9
default-config: Set titles for the default-bound apps
2025-04-22 22:51:56 +03:00
Ivan Molodetskikh
7884d3bfea
layout: Extract Monitor::update_shaders()
2025-04-17 11:31:34 +03:00
Ivan Molodetskikh
fdbc485d78
layout: Remove width and is_full_width from InsertHint
...
They were unused.
2025-04-17 11:31:34 +03:00
Ivan Molodetskikh
7e253d2687
layout: Don't pass scale to render unnecessarily
...
These parts of the layout already know their scale.
2025-04-17 11:31:34 +03:00
Ivan Molodetskikh
15ba2ab300
Rename render_floating_for_output to render_interactive_move_for_output
2025-04-17 11:31:34 +03:00
Ivan Molodetskikh
37840a418a
animation: Extract value_at() and fix animations off difference
2025-04-17 11:31:34 +03:00
Ivan Molodetskikh
4a4c972ffb
animation: Add more getters
2025-04-17 11:31:34 +03:00
Ivan Molodetskikh
ba933773ab
animation: Fix restarted() Spring using old from/to
2025-04-16 07:46:10 +03:00
Ivan Molodetskikh
f1cca1a6ca
Back out "chore: update smithay"
...
This backs out commit 763cd564e3 .
There are graphical glitches and a panic.
2025-04-16 07:46:10 +03:00
Simonas Kazlauskas
763cd564e3
chore: update smithay
2025-04-15 13:01:24 -07:00
Ivan Molodetskikh
95eafba346
README: Add link to RustCon talk
2025-04-12 19:38:57 +03:00
Ivan Molodetskikh
df94662435
layout: Take into account idle time between last gesture event and end
...
Fixes cases like: do a quick movement with mouse, then hold it in-place for a
while (no events generated), then release the gesture (it uses all that
built-up speed). This also happens with DnD scroll and makes it go further than
intended.
2025-04-10 10:49:35 +03:00
Ivan Molodetskikh
430b155929
Fix typo in comment
2025-04-06 10:04:40 +03:00
Ivan Molodetskikh
c359d24825
layout: Avoid calling interactive_move_end() in the middle of interactive_move_update()
2025-04-05 09:42:38 +03:00
Ivan Molodetskikh
e8da89a430
input: Fix move-workspace-to-index being one off
2025-04-04 16:51:09 +03:00
Ivan Molodetskikh
feae8c15e6
input: Don't panic on resize edge None when window is Some
...
This can already happen with the tab indicator, it will happen more onwards.
2025-04-04 16:04:18 +03:00
Ivan Molodetskikh
b49f7dcb4d
layout/scrolling: Use slice::fill()
...
Fix new Clippy warning.
2025-04-03 19:25:56 +03:00
Ivan Molodetskikh
60034a57ef
wiki: Document baba-is-float
2025-04-01 10:35:17 +03:00
Ivan Molodetskikh
2adbf33fb6
Update issue template and contact links
2025-04-01 08:55:14 +03:00
Ivan Molodetskikh
28cc84fbd1
wiki: Remove excessive links
2025-03-31 14:35:20 +03:00
Ivan Molodetskikh
e10b968eb0
layout: Reset unfullscreen view offset when starting interactive resize
2025-03-31 14:33:02 +03:00
LunarEclipse
3b1bf34e21
Allow negative shadow spread
2025-03-31 14:13:20 +03:00
LunarEclipse
bd927b54e0
Improved layout shadow documentation
2025-03-31 13:47:47 +03:00
Ivan Molodetskikh
66d3a3bd82
Fix ToggleKeyboardShortcutsInhibit comment
2025-03-31 13:34:49 +03:00
sodiboo
36489f1daa
add toggle-keyboard-shortcuts-inhibit to CLI/IPC ( #1366 )
...
* add toggle-keyboard-shortcuts-inhibit to CLI/IPC
missed it in ef8d5274b8
or https://github.com/YaLTeR/niri/pull/630
or 0584dd2f1e
or whatever
* Update niri-ipc/src/lib.rs
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-31 05:00:10 +00:00
peelz
b2c34e7fe9
Fix typo in comment
2025-03-29 07:56:47 -07:00
peelz
dcc291d701
wiki: fix typo natuilus -> nautilus
2025-03-29 07:56:47 -07:00
lualeet
8d43efe4ac
Add option 'focus-at-startup' to focus a chosen output on start ( #1323 )
...
* Implement default-output
* Fix incorrect wiki string
* Center mouse on start
* Move default-output to Output.focus-at-startup
* fixes
---------
Co-authored-by: lualeet <lualeet@null.null >
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-29 10:13:59 +00:00
Ivan Molodetskikh
3bb7e60311
layout: Remove duplicated function
2025-03-29 12:50:16 +03:00
Ivan Molodetskikh
d639eb0032
wiki: Document Steam black screen workaround
2025-03-29 11:26:31 +03:00
Ivan Molodetskikh
d91499486e
Make move-window-to-workspace focus=false work across monitors too
2025-03-29 11:17:38 +03:00
Ivan Molodetskikh
f7106f9658
Update dependencies
2025-03-29 10:56:30 +03:00
Ivan Molodetskikh
835490c59a
Update Smithay (protocol sanity checks)
2025-03-29 10:55:41 +03:00
dependabot[bot]
5cde00f6c6
build(deps): bump the rust-dependencies group across 1 directory with 2 updates
...
Bumps the rust-dependencies group with 2 updates in the / directory: [clap](https://github.com/clap-rs/clap ) and [log](https://github.com/rust-lang/log ).
Updates `clap` from 4.5.32 to 4.5.34
- [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.32...clap_complete-v4.5.34 )
Updates `log` from 0.4.26 to 0.4.27
- [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.26...0.4.27 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
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-03-29 00:46:51 -07:00
nyx
7dc015e16b
screenshot: make selection area modifiable via move/resize keybinds ( #1279 )
...
* screenshot: make selection area modifiable via keybinds
* input: run fmt
* Reimplement screenshot UI binds in a better way
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-29 07:40:21 +00:00
nyx
0db48e2f1b
Add focus argument to move-window-to-workspace ( #1332 )
...
* layout: add focus flag to move-window-to-workspace
* lib: update comment
* misc: minor dup refactor
* input: format code
* layout: minor nit
* layout: update comment
* input: remove unnecessary conditionals
* misc: replace boolean
* tests: fix the failing one
* layout: change to smart
* ipc: Option<bool> -> bool
* lib: format code
* Rewrite focus doc comment
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-29 06:40:08 +00:00
Gavin Zhao
7cfecf4b1b
wiki: Mention file chooser dependency and settings for portals ( #1344 )
...
* wiki: Mention file chooser dependency and settings for portals
* Update wiki/Important-Software.md
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-26 12:37:00 -07:00
Ivan Chernov
3142838e9e
wiki: Documented flags for Electron based applications ( #1302 )
...
* wiki: Documented flags for Electron based applications
* Update wiki/Application-Issues.md
Co-authored-by: Kent Daleng <lolexplode@gmail.com >
* wiki: remove Arch specific files for Electron
* Apply suggestions from code review
---------
Co-authored-by: Kent Daleng <lolexplode@gmail.com >
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-26 20:56:24 +03:00
Maya Nordland
4534d37266
wiki: Document window rule for steam notifications ( #1341 )
...
* wiki: Document window rule for steam notifications
* Update wiki/Application-Issues.md
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-25 07:39:59 +03:00
sodiboo
ec5112d779
nix: update flake inputs and use new libgbm
...
fixes #1312
like
https://github.com/sodiboo/niri-flake/commit/0d54ea3f208f785b29f8396996b6bc8596d11a45
2025-03-23 12:21:55 -07:00
Ivan Molodetskikh
c709696237
Don't block things out for pick-color
...
It's interactive so it's fine.
2025-03-23 11:45:54 +03:00
Ivan Molodetskikh
b271409509
dbus/gnome_shell_screenshot: Fix pick_color return type
2025-03-23 09:31:51 +03:00
Ivan Molodetskikh
500dcca9b7
input: Suppress release from Pick grab clicks
...
Otherwise, it would trigger something inside the window.
2025-03-22 23:14:51 -07:00
nnyyxxxx
7210045b2a
feat: support color picker functionality
...
chore: format code
refactor: improve quality
feat: implement gnomes PickColor method
refactor: minor code extraction
misc: fix reviews
fixes
2025-03-22 23:14:51 -07:00
Ivan Molodetskikh
ed20822ce9
layout: Reset unfullscreen view offset when removing window
...
Another old bug found by randomized tests after I expanded the testing mock
window.
2025-03-22 13:57:37 +03:00