Bill Sun
236abd9d9d
Add Nix Flake ( #77 )
...
* Add Nix Flake
Co-authored-by: Bryce Berger <bryce.z.berger@gmail.com >
* Describe nix flake in readme
* Add `niri-config` to build source list
* Add maintainer info
Add comment at top to indicate the Nix Flake file
is community maintained.
* Clarify Nix/NixOS README instructions
* Shorten Nix/NixOS build instructions
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
* Move NixOS installation instruction to "Tip" section
---------
Co-authored-by: Bryce Berger <bryce.z.berger@gmail.com >
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2024-01-10 22:43:46 -08:00
Ivan Molodetskikh
b2df3e104f
Document debug settings in the default config
2024-01-09 08:18:34 +04:00
Ivan Molodetskikh
ec2d339a86
Add panic subcommand to check backtraces
2024-01-09 08:08:38 +04:00
Ivan Molodetskikh
629a2ccb47
layout: Improve Options randomization in tests
2024-01-08 20:57:53 +04:00
Thomas Versteeg
fb93038bd8
Add center-focused-column setting
2024-01-08 17:37:18 +04:00
Ivan Molodetskikh
71fef2ad2e
Add a few mouse libinput settings
2024-01-08 11:53:34 +04:00
Ivan Molodetskikh
c6841f19e9
Add touchpad tap-button-map setting
2024-01-08 10:32:04 +04:00
Ivan Molodetskikh
e1971c4af5
Add touchpad dwt setting
2024-01-08 10:24:00 +04:00
Ivan Molodetskikh
07b1d0e98d
Add touchpad accel-profile setting
2024-01-08 10:23:53 +04:00
Ivan Molodetskikh
ffe25f5cc4
Update Smithay and dependencies
v0.1.0-alpha.3
2024-01-07 17:44:08 +04:00
Ivan Molodetskikh
43e2cf14d2
Be more insistent on CSD by default
...
By default I want CSD so that people don't necessarily have to learn all
of the shortcuts right away, and can at least use the X to close
windows.
2024-01-07 09:41:56 +04:00
Ivan Molodetskikh
2c59131f7f
Remove debuginfo from niri-config
...
Finally, the file sizes are back to sane.
2024-01-07 09:28:50 +04:00
Ivan Molodetskikh
64c41fa2c8
Move config into a separate crate
...
Get miette and knuffel deps contained within.
2024-01-07 09:28:14 +04:00
Ivan Molodetskikh
4e0aa39113
[cfg-breaking] Move layout settings into their own scope
2024-01-06 13:04:21 +04:00
Ivan Molodetskikh
dcb80efc88
Bump version to 0.1.0-alpha.3
2024-01-06 09:30:46 +04:00
Ivan Molodetskikh
3d5de921cd
Add render-drm-device debug config option
2024-01-06 09:14:48 +04:00
Ivan Molodetskikh
8703feedee
tty: Print full path to render node
2024-01-06 08:46:30 +04:00
Ivan Molodetskikh
a27d22571d
README: Link NixOS flake
2024-01-06 08:33:12 +04:00
Ivan Molodetskikh
d10af92aea
Redraw on toggling debug tint
2024-01-06 08:28:12 +04:00
Ivan Molodetskikh
0bc83eda71
Update Smithay and dependencies
2024-01-06 08:22:53 +04:00
Ivan Molodetskikh
6fce5662e7
Update Smithay
2024-01-05 23:23:32 +04:00
Ivan Molodetskikh
1c7c5b3f28
tty: Avoid non-linear cross-device formats
2024-01-05 23:23:32 +04:00
Ivan Molodetskikh
b9d7812f1f
Update dependencies
2024-01-05 23:23:32 +04:00
Ivan Molodetskikh
655b9808b9
Update Smithay
2024-01-05 23:23:30 +04:00
Ivan Molodetskikh
5cd31e5730
Implement multi-GPU support
...
Rendering always happens on the primary GPU.
2024-01-03 18:16:20 +04:00
Ivan Molodetskikh
de3fc2def0
Make rendering generic over renderer
2024-01-03 18:05:15 +04:00
Ivan Molodetskikh
fd1d4b07fd
Replace renderer() with with_primary_renderer()
2024-01-03 11:38:09 +04:00
Ivan Molodetskikh
8b5acd5e6e
Rename RenderResult::Error to Skipped
2024-01-03 11:38:07 +04:00
Ivan Molodetskikh
31bb9096e2
Move Niri::render() invocation to backends
2024-01-03 11:38:02 +04:00
Ivan Molodetskikh
dae93ee159
Render again for screencast
...
Will be needed when multi-gpu support is added.
2024-01-03 11:37:04 +04:00
Ivan Molodetskikh
57a7347620
Move import_dmabuf to backends
2024-01-03 11:37:04 +04:00
Ivan Molodetskikh
628891db2c
Add disable-cursor-plane debug flag
2024-01-03 08:42:49 +04:00
Ivan Molodetskikh
be6e25f5fb
tty: Extract config variable
2024-01-03 08:42:49 +04:00
Ivan Molodetskikh
e005a795e7
layout: Make generic over Renderer
2024-01-01 17:31:58 +04:00
Ivan Molodetskikh
655fe413fb
tty: Don't store render formats
...
Actually, how did it even fork before? Pretty sure it was storing render
formats, not texture formats, but with render formats
weston-simple-dmabuf-feedback doesn't work?
2024-01-01 17:31:58 +04:00
Ivan Molodetskikh
ac6ff7ff41
tty: Disable dmabuf global before destroying
2024-01-01 17:31:58 +04:00
Ivan Molodetskikh
84befb4e91
tty: Move dmabuf_global up into Tty
2024-01-01 09:54:45 +04:00
Ivan Molodetskikh
d39f7bebf3
tty: Fix import sorting
...
One of the imports was too long so rustfmt bailed.
2024-01-01 09:40:41 +04:00
Ivan Molodetskikh
0dd9a42087
Move DmabufState to Niri
2023-12-31 12:02:39 +04:00
Ivan Molodetskikh
658941f2c3
Enable EGL for the winit backend
...
More relevant now that mesa on Fedora is trying to force non-working
Zink for some reason.
2023-12-31 09:46:22 +04:00
Ivan Molodetskikh
6ccc4147ae
Use remove/insert for columns instead of swapping
...
Now with move-to-first/last this is relevant.
2023-12-29 16:58:18 +04:00
Ivan Molodetskikh
46d5f5ec4d
Add randomized border to proptest
2023-12-29 11:43:16 +04:00
Ivan Molodetskikh
c64e96d0d8
Add test with i32::MAX max_size
2023-12-29 11:42:54 +04:00
Ivan Molodetskikh
44d3a5b9a2
Use saturating_sub in window_height_for_tile_height()
2023-12-29 11:38:01 +04:00
Ivan Molodetskikh
5d95de97a0
Add new binds to the README
2023-12-29 08:09:17 +04:00
Ivan Molodetskikh
56174b2c34
Add move-column-to-{first,last}
2023-12-29 08:01:02 +04:00
Ivan Molodetskikh
310aa2b464
layout: Extract move_column_to()
2023-12-29 08:00:40 +04:00
Ivan Molodetskikh
d6c553091f
Add focus-column-{first,last}
2023-12-29 07:51:14 +04:00
Ivan Molodetskikh
097c415036
layout: Use saturating_add() in several places
...
Apparently VSCode sends i32::MAX worth of max_size?
2023-12-28 18:53:08 +04:00
Ivan Molodetskikh
2d16c04869
Fix unfullscreening not always updating view offset
2023-12-28 10:49:31 +04:00