-
-
Notifications
You must be signed in to change notification settings - Fork 628
Closed
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Description
I've noticed that OOM killer would kill niri and it lead me to this PR #216
When I spawn terminal using the following binding Mod+Return { spawn "alacritty"; } it gets its own scope. This works as expected.
But when I spawn using tofi launcher scope is not created and all the processes are the children of niri.
I've tried the following way of spawning
Mod+D { spawn "bash" "-c" "tofi-run | xargs -r nohup &"; }
Mod+D { spawn "bash" "-c" "tofi-run | xargs bash -c"; }
Thankfully niri has niri msg action spawn that works and now I use
Mod+D { spawn "bash" "-c" "tofi-run | xargs niri msg action spawn --"; }
I have a suspicion that this might be a problem.
I thought that "bash -c" might cause the issue but when I spawn terminal using Mod+Return { spawn "bash" "-c" "alacritty"; } it creates a scope.
System Information
- niri version: niri 25.02 (unknown commit)
- Distro: Arch
- GPU: NVIDIA 3090
- CPU: AMD Ryzen Threadripper 3970X
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested