sway/config.d/10-systemd-cgroups.conf

12 lines
556 B
Plaintext
Raw Permalink Normal View History

2024-08-12 16:00:40 +02:00
# 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.
#
exec $exedir/assign-cgroups.py