Ivan Molodetskikh
1963aaa775
Add initial impl of org.gnome.Shell.Screenshot
...
Enough to make the portal all-outputs screenshot work. With this,
Flameshot kinda-works.
2023-09-20 09:28:23 +04:00
Ivan Molodetskikh
8b4f2cf483
niri: Add include_pointer argument to render()
2023-09-20 09:22:39 +04:00
Ivan Molodetskikh
1c85230d18
niri: Make render helpers generic over RenderElement
2023-09-20 09:22:15 +04:00
Ivan Molodetskikh
e88577bc82
niri: Extract render_to_vec()
2023-09-19 19:08:45 +04:00
Ivan Molodetskikh
69f561cd6f
Extract make_screenshot_path()
2023-09-19 19:05:03 +04:00
Ivan Molodetskikh
495cce054b
Update Smithay
2023-09-19 17:03:24 +04:00
Ivan Molodetskikh
99b945c385
Allow replacement of screencast and displayconfig dbus
...
This way the session can start with those dbus services registered, but
then for debugging they can be subsequently replaced anyway.
2023-09-19 16:46:13 +04:00
Ivan Molodetskikh
361b34f460
tty: Pass output name to tracy span
2023-09-19 07:39:21 +04:00
Ivan Molodetskikh
699c6c3ed1
README: Update PrtSc hotkey
2023-09-18 21:08:28 +04:00
Ivan Molodetskikh
1505c6d3d8
README: Update default bind list
2023-09-18 21:06:47 +04:00
Ivan Molodetskikh
94da8b1e3e
tty: Try to create context with high priority
2023-09-18 20:09:57 +04:00
Ivan Molodetskikh
2854874793
Upgrade dependencies
2023-09-18 19:53:15 +04:00
Ivan Molodetskikh
e0deea3f68
default-config: Add PgUp/Down for workspace switching
2023-09-18 11:53:44 +04:00
Ivan Molodetskikh
3a52489330
Change default repeat to 600
...
660 comes from Xorg, but feels kind of slow. The wlroots and sway
default is 600, which is a little better.
The 25 repeat interval matches between Xorg (where it is defined in
terms of interval, rather than rate) and wlroots.
2023-09-16 21:52:25 +04:00
Kirill Chibisov
b66b4399ad
Add keyboard.repeat-rate and keyboard.repeat-delay
...
Add option to let the users configure the keyboard repeat delay and
rate. Also change the default values to mimic the Xorg, which is
also the values used by default by the majority of the compositors.
Fixes : #7
2023-09-16 18:13:52 +03:00
Ivan Molodetskikh
37ec524264
Add by-index workspace commands and binds
2023-09-16 12:14:02 +04:00
Ivan Molodetskikh
e5d7732880
Use /- in less places in the default config
2023-09-16 10:50:05 +04:00
Ivan Molodetskikh
fafe24c499
Mention uncommenting in default-config
2023-09-16 09:06:34 +04:00
Ivan Molodetskikh
ddbc455bb8
Add debug flag to enable overlay planes
2023-09-14 22:43:24 +04:00
Ivan Molodetskikh
3d6bc996ca
Disable ColorTransformations, add debug flag to enable
...
Speeds up the rendering slightly, doesn't seem to cause issues?
2023-09-14 22:43:24 +04:00
Ivan Molodetskikh
89f9e11f65
Store Config as Rc<RefCell<>> field
2023-09-14 22:43:24 +04:00
Ivan Molodetskikh
092095ead0
Add debug flag to wait for frame completion
2023-09-14 09:33:42 +04:00
Ivan Molodetskikh
ef11975ec5
tty: Plot vblank dispatch offsets
2023-09-14 09:19:20 +04:00
Ivan Molodetskikh
46403bd84a
layout: Correct view offset when swapping columns
2023-09-13 19:37:14 +04:00
Ivan Molodetskikh
219ca08836
Implement minimizing view movement on changes
...
Before this commit, windows were always left-aligned.
Now, when changing focus, if the window is fully visible, the view
doesn't move. If the window is not fully visible, the view is moved the
minimum amount.
2023-09-13 16:57:12 +04:00
Ivan Molodetskikh
c8b85b83c7
Update dependencies
2023-09-12 19:48:50 +04:00
Ivan Molodetskikh
84885fe5fb
layout: Add tests for various operations
2023-09-12 19:46:12 +04:00
Ivan Molodetskikh
99b4ea6541
layout: Fix assertion in verify_invariants()
2023-09-12 19:46:12 +04:00
Ivan Molodetskikh
513763eaec
layout: Replace add_window_to_output with add_window
2023-09-12 19:46:12 +04:00
Ivan Molodetskikh
e4b5f6518a
Update dependencies
2023-09-11 19:51:00 +04:00
Ivan Molodetskikh
07c4632165
Update dependencies
2023-09-11 19:24:09 +04:00
Ivan Molodetskikh
d52ca23caa
Add initial monitor screencast portal impl
...
DmaBuf monitor screencasting through xdg-dekstop-portal-gnome!
Somewhat limited currently, e.g. the cursor is always embedded. But gets
most of the job done.
2023-09-08 23:53:56 +04:00
Ivan Molodetskikh
bd0ecf9174
Roll tracy-client back to 0.15
...
The version must match across dependencies.
2023-09-08 09:30:22 +04:00
Ivan Molodetskikh
3affc89def
CI: Add profiling feature build
2023-09-06 17:40:24 +04:00
Ivan Molodetskikh
ec7e8112b1
Upgrade dependencies
2023-09-06 17:31:59 +04:00
Ivan Molodetskikh
98516aec9c
Remove fuzzel from generate-rpm requires
2023-09-06 17:31:47 +04:00
Ivan Molodetskikh
a75b0dcb6f
CI: Switch rustfmt to checkout v4 too
...
Forgot about this. But might as well test rust cache performance.
2023-09-06 17:20:19 +04:00
Ivan Molodetskikh
75c75c93e1
Add CI
...
Surely this will work first try
2023-09-06 17:11:25 +04:00
Ivan Molodetskikh
7460737481
Add animation-slowdown debug setting
2023-09-06 15:49:46 +04:00
Ivan Molodetskikh
c7a7b2daf2
input: Only send axis_stop when amount is present
...
This is the expected behavior. Unbreaks Alacritty scrolling.
2023-09-06 14:51:37 +04:00
Ivan Molodetskikh
180d07aab9
Redraw on cursor or DnD surface commits
2023-09-06 11:56:50 +04:00
Ivan Molodetskikh
f929370cf5
config: Add volume button example
2023-09-06 09:47:44 +04:00
Ivan Molodetskikh
18e29d0028
layout: Fix input to non-active window in column
2023-09-05 18:14:42 +04:00
Ivan Molodetskikh
934183ef00
input: Clip pointer movement smarter
2023-09-05 18:02:05 +04:00
Ivan Molodetskikh
72d6b387e7
Fix extra ref
2023-09-05 17:28:07 +04:00
Ivan Molodetskikh
b7f51fe44d
input: Remove some unwraps
2023-09-05 17:27:54 +04:00
Ivan Molodetskikh
5225bc9e55
Add configuration file
2023-09-05 12:58:59 +04:00
Ivan Molodetskikh
bdc86032e4
Fix line position
2023-09-05 08:10:19 +04:00
Ivan Molodetskikh
3cea52a0b2
Update Smithay to upstream
...
Pointer gestures were merged.
2023-09-04 16:36:27 +04:00
Ivan Molodetskikh
aa7777527b
Compile-disable trace events in release
2023-09-04 15:10:16 +04:00