sway-assign-cgroups
Automatically assign a dedicated systemd scope to the GUI applications
launched in the same cgroup as the compositor. This could be helpful for
implementing cgroup-based resource management and would be necessary when
systemd-oomd is in use.
Limitations: The script is using i3ipc window:new event to detect application launches and would fail to detect background apps or special surfaces. Therefore it's recommended to supplement the script with use of systemd user services for such background apps.
- Name
- sway-assign-cgroups
- Main Program
assign-cgroups.py- Programs
assign-cgroups.py
- Version
- 0.4.1
- License
- Maintainers
- Platforms
- aarch64-linux
- armv5tel-linux
- armv6l-linux
- armv7a-linux
- armv7l-linux
- i686-linux
- loongarch64-linux
- m68k-linux
- microblaze-linux
- microblazeel-linux
- mips-linux
- mips64-linux
- mips64el-linux
- mipsel-linux
- powerpc-linux
- powerpc64-linux
- powerpc64le-linux
- riscv32-linux
- riscv64-linux
- s390-linux
- s390x-linux
- x86_64-linux
- Defined
- Source