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.
v0.1.2
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
Ivan Molodetskikh
baaac2f3c4
Update Smithay
2024-02-16 22:40:37 +04:00
Ivan Molodetskikh
3fdefae45b
Bump version to 0.1.2
2024-02-16 18:00:19 +04:00
Ivan Molodetskikh
6345224e95
default-config: Fix spelling mistakes
...
Ok I added automatic :set spell for KDL now.
2024-02-16 17:40:18 +04:00
Ivan Molodetskikh
b3d2096439
Replace set_modified() with manual impl
...
MSRV moment
2024-02-16 08:46:58 +04:00
Ivan Molodetskikh
94ded2f6a9
CI: Add a MSRV job
2024-02-16 08:33:19 +04:00
Ivan Molodetskikh
fa3bc69f94
Add watcher tests
2024-02-15 10:31:53 +04:00
Viktor Pocedulic
363e1d8764
input: enable configuring of trackpoint devices
2024-02-15 10:27:12 +04:00
Ivan Molodetskikh
8e1d4de0dc
tty: Filter out interlaced modes
...
They don't seem to work. wlroots also filters them:
https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/feb54979c0940655e36119c63e18a9ee72cc03b0/backend/drm/drm.c#L1461
2024-02-14 21:14:01 +04:00
Ivan Molodetskikh
72e3fadb9a
default-config: Specify example refresh rate with 3 digits
...
This is the format you need to use.
2024-02-14 19:55:31 +04:00
Ivan Molodetskikh
78cda2e67f
tty: Truncate Edid strings to nul
...
Otherwise they crash in wayland-rs when converting to CString.
2024-02-14 19:49:34 +04:00
Ivan Molodetskikh
924e21f69b
Focus output unconditionally after moving window there
...
Fixes output not getting focus if there was no window to move.
2024-02-14 09:06:13 +04:00
Ivan Molodetskikh
befdebfa03
Add the beginnings of window rules
2024-02-14 08:32:14 +04:00
Ivan Molodetskikh
7960a73e9d
config: Fix missing layout {} defaulting to 0 gaps
2024-02-13 17:47:11 +04:00
Ivan Molodetskikh
749ee5d627
Do initial configuration right before sending initial configure
...
Let the toplevel fill in some details about itself.
2024-02-13 17:47:11 +04:00
Ivan Molodetskikh
952dd48115
Deduplicate call to miette hook
2024-02-13 12:16:58 +04:00
Ivan Molodetskikh
cbd066ab68
default-config: Document animation properties
2024-02-12 20:46:29 +04:00
Ivan Molodetskikh
bccde351fb
Update flake.lock
2024-02-12 09:58:04 +04:00
Kiara Grouwstra
beaffb1b97
CI: check nix build works
2024-02-12 09:57:34 +04:00
Shawn Wallace
385454378b
Implement DRM leasing
...
Closes #178
2024-02-12 09:48:54 +04:00
Ivan Molodetskikh
18f06a7acd
Fix border getting default values for focus ring
2024-02-12 09:34:54 +04:00
Ivan Molodetskikh
6e23073019
Move default_border() into FocusRing
2024-02-12 09:22:22 +04:00
Ivan Molodetskikh
a9fcbf81eb
Export NIRI_SOCKET to systemd/dbus environment
2024-02-12 08:56:39 +04:00
Ivan Molodetskikh
a99f34cba8
tty: Activate monitors on session resume
2024-02-12 08:45:45 +04:00
Ivan Molodetskikh
bd2277fa25
tty: Notify idle activity on session resume
2024-02-12 08:42:34 +04:00
Ivan Molodetskikh
67182129ff
Add skip-confirmation flag to the quit action
2024-02-12 07:53:48 +04:00
Ivan Molodetskikh
d6b116d229
Add missing space
2024-02-12 07:53:48 +04:00
Ivan Molodetskikh
c20a843ab2
Add log message when confirming exit dialog
2024-02-12 07:53:48 +04:00
Kiara Grouwstra
1b752fe08f
exclude visual tests from nix, closes #181
2024-02-12 00:01:03 +04:00
Ivan Molodetskikh
89f74aae98
freedesktop-screensaver: Filter out non-interesting messages
2024-02-11 23:05:37 +04:00
Ivan Molodetskikh
5e553c2679
Implement org.freedesktop.ScreenSaver Inhibit
...
xdg-desktop-portal currently has no way of disabling the Inhibit portal
or ever returning an error to the application from it. Thus Flatpak
Firefox will never fall back to its Wayland backend. To remedy this,
let's actually implement the FDO Inhibit interface that the portal can
use.
2024-02-11 22:26:59 +04:00
Ivan Molodetskikh
cabf712821
hotkey-overlay: Deduplicate Spawn actions
2024-02-11 09:27:34 +04:00