Matt Cuneo
d6b62ad09d
Add optional fallback to workspace focus/move for window focus/move ( #93 )
...
* Add optional fallback to workspace focus/move for window focus/move commands
* Refactored to separate commands
* fix indentation
* fix white space
* Stylistic fixes
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2023-12-19 00:25:05 -08:00
Ivan Molodetskikh
d155f5cd6c
Add a config flag to disable an output
2023-12-18 10:27:41 +04:00
Ivan Molodetskikh
74ff4f1903
Add a validate subcommand for config validation
2023-12-18 10:19:58 +04:00
Ivan Molodetskikh
8c3107af7b
Make main() return Result
...
For reporting the config validation error.
2023-12-18 10:17:04 +04:00
Ivan Molodetskikh
8bcd18ace2
Move miette set earlier
2023-12-18 10:02:11 +04:00
Ivan Molodetskikh
4fefab7d6b
Extract allowed action checks
2023-12-09 09:43:26 +04:00
Ivan Molodetskikh
675932c05b
Document compute_tablet_position()
2023-12-09 09:30:56 +04:00
Ivan Molodetskikh
475d6e4be1
Extract tablet_seat and desc variables
2023-12-09 09:28:41 +04:00
Ivan Molodetskikh
d9e27988a7
Extract tablet data variables
2023-12-09 09:25:27 +04:00
Ivan Molodetskikh
1be860c527
Add trace span to process_libinput_event
2023-12-09 09:23:41 +04:00
Ivan Molodetskikh
b3e0a6c543
Remove extraneous full path
2023-12-09 09:23:25 +04:00
Ivan Molodetskikh
23a5bd3670
Extract input handlers to functions
2023-12-09 09:22:58 +04:00
Ivan Molodetskikh
d397375d57
Move regular pointer to tablet pointer pos on proximity out
2023-12-08 08:32:42 +04:00
Ivan Molodetskikh
cb3ba5105d
Update dependencies
2023-12-08 08:01:52 +04:00
Ivan Molodetskikh
243519598e
Live-reload keyboard config
...
This needed the Smithay bump for a deadlock fix.
2023-12-08 07:58:03 +04:00
Ivan Molodetskikh
0b5f232bc2
Update Smithay
2023-12-08 07:57:45 +04:00
Ivan Molodetskikh
9b3478a3d7
Prevent stealing focus from fullscreen clients
...
Got hit by that Syncthing disconnect dialog a few times while playing
games.
2023-12-05 15:28:31 +04:00
Ivan Molodetskikh
cb1e5d6c19
Track tablet pointer separately, don't sent wl_pointer events
...
Tablets are not supposed to send wl_pointer events. This unbreaks GTK 4
clients for example.
2023-12-05 10:24:41 +04:00
Ivan Molodetskikh
11ae17b220
Extract to_xkb_config() to a method
2023-12-05 08:04:46 +04:00
Ivan Molodetskikh
40b633be5c
Implement relative-pointer
...
Xwayland actually makes use of it, so I can finally verify that it
works!
2023-12-04 18:12:12 +04:00
Ivan Molodetskikh
0e29e7f6ff
Keep monitor aspect ratio and clamp to monitor for tablets
...
Before, the full tablet area was used, even if the aspect ratio didn't
match the monitor. Also, the coordinates weren't clamped.
2023-12-03 13:50:07 +04:00
Ivan Molodetskikh
626c720b7a
Set version for cargo-generate-rpm
2023-12-03 13:49:50 +04:00
Ivan Molodetskikh
3f76b71115
Add example systemd setup link to the README
2023-11-27 08:45:30 +04:00
Ivan Molodetskikh
1599a01f3b
Add COPR link to README
2023-11-26 22:02:17 +04:00
Ivan Molodetskikh
69e7afc538
Remove wrong comment
...
The node is not commented out.
v0.1.0-alpha.1
2023-11-26 16:51:13 +04:00
Ivan Molodetskikh
042fd75b0c
portals: Set gnome-keyring as the Secrets portal
...
Without this it doesn't work at all, with this it at least works with
gnome-keyring installed (for example, on my system).
2023-11-26 08:15:29 +04:00
Ivan Molodetskikh
50649ff78b
Add more default app binds to the default config
2023-11-25 14:37:59 +04:00
Ivan Molodetskikh
786c98428c
Add some crate metadata
2023-11-25 11:24:35 +04:00
Ivan Molodetskikh
64267f875a
Change version to 0.1.0-alpha.1
2023-11-25 11:15:55 +04:00
Ivan Molodetskikh
f085384bc7
Add and call niri-shutdown.target
...
Sometimes graphical-session.target lingers on after niri quits, leading
to services not being started on a quick relogin. To work around this,
add and run a systemd target that conflicts with
graphical-session.target and forces its shutdown.
2023-11-25 11:01:23 +04:00
Ivan Molodetskikh
9eb5d5c22d
Mention config live-reload in the README
2023-11-25 10:31:16 +04:00
Ivan Molodetskikh
113ae1aaff
Live reload animation slowdown
2023-11-25 10:25:12 +04:00
Ivan Molodetskikh
df5512c0a8
Move first log message to after cli parsing
...
So that it doesn't occur during --help etc.
2023-11-24 23:22:53 +04:00
Ivan Molodetskikh
ae47f2116d
Move command spawning to a thread
...
It was showing up on profiles causing dropped frames.
2023-11-24 22:48:30 +04:00
Ivan Molodetskikh
9f24b48d8f
Add missing newline
2023-11-24 22:28:20 +04:00
Ivan Molodetskikh
c95e4a738f
Remove {WAYLAND_,}DISPLAY from environment if running as a service
...
Notably, running the GNOME Xorg session followed by niri results in a
leftover DISPLAY.
2023-11-24 22:17:15 +04:00
Ivan Molodetskikh
d6b8310edb
Log version on startup
2023-11-24 22:04:53 +04:00
Ivan Molodetskikh
5b3d626993
Remove info from default log
...
Smithay spams way too much.
2023-11-24 22:04:18 +04:00
Ivan Molodetskikh
7d797336aa
Don't propagate overwritten RUST_{,LIB_}BACKTRACE
2023-11-24 21:42:37 +04:00
Ivan Molodetskikh
a2ad7b0854
Upgrade dependencies
2023-11-24 11:49:07 +04:00
Ivan Molodetskikh
c7f8a188ea
layout: Add hack to work around maximized GTK damage
2023-11-24 11:30:44 +04:00
Ivan Molodetskikh
0d2ed2e14a
tty: Fix clippy warning
2023-11-24 09:50:30 +04:00
Ivan Molodetskikh
25fd6a0e04
layout: Switch to workspace on window activation if not transitioning
...
This should not be possible to trigger at the moment, but with
xdg-activation it will be.
2023-11-24 09:49:39 +04:00
Ivan Molodetskikh
3473965091
layout: Change workspace by idx functions to accept 0-based usize
...
Makes more sense to do the converstion at the top of the call stack.
2023-11-24 09:48:37 +04:00
Ivan Molodetskikh
c9a79464da
niri: Add a check for target screencast time below last
...
I've had this crash my session twice. Not sure what exactly happened.
2023-11-24 09:34:53 +04:00
Ivan Molodetskikh
c082e2a618
niri: Rename presentation_time to target_presentation_time
...
Makes it clearer that this is a prediction.
2023-11-24 09:21:56 +04:00
Ivan Molodetskikh
42bb79d7c3
tty: Rename vblank offset plot to time since presentation
...
Makes it clearer what this is.
2023-11-24 09:19:49 +04:00
Ivan Molodetskikh
588e6d7cdd
tty: Rename presentation target offset plot to misprediction
...
Makes it clearer what this is.
2023-11-24 09:15:25 +04:00
Ivan Molodetskikh
19cafffe0f
Fix top layer-shell surfaces keeping keyboard focus during fullscreen
2023-11-17 18:30:24 +04:00
Ivan Molodetskikh
136f272689
Bump tracy-client version
...
It was already updated in Cargo.lock.
2023-11-15 20:57:57 +04:00