try better cgroups for fuzzel apps

note that this only half works because niri won't put the process in the
cgroup if it forks too quickly
This commit is contained in:
nora 2026-06-06 23:45:20 +02:00
parent 29119bf74f
commit 8ed10881f8
2 changed files with 8 additions and 1 deletions

View file

@ -3,6 +3,7 @@
{ pkgs
, inputs
, lib
, ...
}:
let
@ -67,6 +68,12 @@ in
exec swaylock
'';
})
(pkgs.writeShellApplication {
name = "fuzzel-in-niri";
text = ''
${lib.getExe pkgs.fuzzel} --launch-prefix "${lib.getExe pkgs.niri} msg action spawn --"
'';
})
(pkgs.writeShellApplication {
name = "shell.nix";
text = ''