Ivan Molodetskikh
55038b7c07
Pass prev_idx explicitly to animate_view_offset_to_column()
2024-02-29 08:30:46 +04:00
Ivan Molodetskikh
8018839f5d
Extract animate_view_offset_to_column()
2024-02-28 17:23:03 +04:00
Ivan Molodetskikh
077f22edd6
Append _fit to animate_view_offset_to_column()
2024-02-28 17:21:08 +04:00
Ivan Molodetskikh
4f7c3300ef
Upgrade dependencies
2024-02-28 13:45:12 +04:00
Ivan Molodetskikh
5628bf7d77
Update Smithay
2024-02-28 13:23:15 +04:00
Christian Meissl
719697179f
input: add basic touch support
2024-02-28 13:19:41 +04:00
Christian Meissl
5ac350d51c
chore: update smithay
2024-02-28 13:19:41 +04:00
Ivan Molodetskikh
494e98c123
Parse CSS colors in {in,}active-color
2024-02-26 09:14:35 +04:00
Ivan Molodetskikh
ec156a8587
Add environment {} config section
2024-02-24 10:08:56 +04:00
Ivan Molodetskikh
e278e871c3
Expand ~ in spawn
2024-02-24 09:16:44 +04:00
Ivan Molodetskikh
ab9d1aab4e
Add open-fullscreen window rule
2024-02-24 08:44:21 +04:00
Ivan Molodetskikh
506dcd99d7
Handle un-/fullscreen after initial configure
2024-02-23 17:47:12 +04:00
Ivan Molodetskikh
dfbc024127
Rename surface -> toplevel
2024-02-23 17:40:30 +04:00
Ivan Molodetskikh
eb2dce1b53
Fix default width fixed not being honored with borders
2024-02-23 14:40:56 +04:00
Ivan Molodetskikh
f5b776a947
Fix unset default width causing a window resize right away
2024-02-23 14:31:35 +04:00
Ivan Molodetskikh
6a587245eb
Add open-maximized window rule
2024-02-23 14:24:39 +04:00
Ivan Molodetskikh
2317021a7c
Implement explicit unmapped window state tracking
2024-02-23 14:01:32 +04:00
Ivan Molodetskikh
af6485cd8c
Fix new warnings
2024-02-22 14:04:18 +04:00
Ivan Molodetskikh
f32a25eefe
Improve shader formatting
2024-02-22 10:21:38 +04:00
Ivan Molodetskikh
aefbad0cf7
Simplify gradient border shader
2024-02-22 10:17:06 +04:00
Ivan Molodetskikh
b091202d86
visual-tests: Add gradient angle and area tests
2024-02-22 08:54:35 +04:00
Ivan Molodetskikh
48f0f6fb3c
Implement gradient borders
2024-02-21 22:15:21 +04:00
Ivan Molodetskikh
340bac0690
Remove unnecessary crop bounds during workspace switch
2024-02-21 21:41:12 +04:00
Ivan Molodetskikh
d1b8134337
focus-ring: Store config instead of individual fields
2024-02-21 20:54:24 +04:00
Ivan Molodetskikh
646e3d8995
Accept location in FocusRing
...
Makes it work more like other elements.
2024-02-21 11:08:48 +04:00
Ivan Molodetskikh
d1fe6930a7
Move UI elements into submodule
2024-02-21 10:50:30 +04:00
Ivan Molodetskikh
9e60b344d0
Move watcher to utils
2024-02-21 10:45:03 +04:00
Ivan Molodetskikh
2c01cde9be
Move spawn to submodule
2024-02-21 10:42:21 +04:00
Ivan Molodetskikh
cb9dc9c0cd
Move utils to subfolder
2024-02-21 10:33:09 +04:00
Ivan Molodetskikh
73d2807b4b
Fix move_window_to_output losing window instead
2024-02-21 09:39:32 +04:00
Ivan Molodetskikh
7d41f113cb
Change non-bug error! to warn!
...
Be consistent with our usage.
2024-02-21 09:20:34 +04:00
Ivan Molodetskikh
63e5cf8798
Add missing qualified path
2024-02-21 09:12:42 +04:00
Ivan Molodetskikh
9ce19ad7de
Use niri_render_elements! for the screenshot UI
2024-02-21 09:12:40 +04:00
Ivan Molodetskikh
751f79dc35
Comment out toggle-debug-tint default bind
2024-02-21 07:58:23 +04:00
Ivan Molodetskikh
b8aa0a86e7
Fix debug tint desync for new outputs
2024-02-21 07:58:23 +04:00
Ivan Molodetskikh
82fffdea80
Fix locking with DPMS-inactive monitors
...
This both enables locking while monitors are powered off (they have no
buffer attached at that point on a TTY, so no sensitive content can
become visible), and fixes the condition below to check even if the
rendering was skipped.
2024-02-21 07:40:50 +04:00
Ivan Molodetskikh
5b3bfd95d9
Upgrade logs about removing env vars to warn!
...
These are more visible now with the --session flag.
2024-02-21 07:27:49 +04:00
Ivan Molodetskikh
1a15aa704d
ci: Check individual features
2024-02-21 07:27:49 +04:00
Ivan Molodetskikh
d58a45a96c
Add systemd feature flag for systemd-specific things
2024-02-21 07:27:49 +04:00
Ivan Molodetskikh
9f1b4ee299
Set XDG_CURRENT_DESKTOP and XDG_SESSION_TYPE from niri itself
2024-02-21 07:27:49 +04:00
Ivan Molodetskikh
f0a5e9c933
Add --session CLI flag instead of detection based on systemd service
...
Allows running without systemd.
2024-02-21 07:27:49 +04:00
Ivan Molodetskikh
c4c07841d7
niri.service: Put into session.slice
...
Now that we're separating spawned processes, put ourselves in the more
important session.slice.
2024-02-20 12:49:52 +04:00
Ivan Molodetskikh
6ba24e341f
utils/spawn: Put processes into systemd scopes
...
This separates them from the niri scope for the purposes of e.g. the OOM
killer only killing the app and not the compositor.
2024-02-20 12:49:52 +04:00
Ivan Molodetskikh
13b6c74cc3
utils/spawn: Receive grandchild PID
2024-02-20 12:49:52 +04:00
Ivan Molodetskikh
d8fb8d5ef0
Update for Smithay MultiGpu shadow copies
2024-02-18 21:12:07 +04:00
Ivan Molodetskikh
2b5eeb6162
Fix fullscreen handling before initial configure
2024-02-18 10:20:34 +04:00
Ivan Molodetskikh
85be5f746c
default-config: Clarify how indexed workspace access works
2024-02-17 21:01:10 +04:00
Ivan Molodetskikh
dd7362913e
Ignore mouse releases for dismissing overlays
2024-02-17 14:07:51 +04:00
Ivan Molodetskikh
62892d6361
Prevent locking while another lock client is already active
...
Fixes double swaylock from manual + swayidle.
2024-02-17 07:47:06 +04:00
Ivan Molodetskikh
31c13b6a69
default-config: Document enable-color-transformations-capability debug flag
2024-02-17 07:23:43 +04:00