# earlyoom kills the biggest memory hog before the device thrashes to death.
# This kernel has no PSI, so systemd-oomd cannot run; earlyoom watches
# /proc/meminfo instead. -m/-s trigger when free RAM/swap fall below these
# percentages. Protect the desktop session; prefer the usual hogs.
EARLYOOM_ARGS="-r 3600 -m 10 -s 10 --avoid '^(systemd|sddm|kwin_wayland|kwin_x11|plasmashell|Xorg|pipewire|wireplumber)$' --prefer '^(\.?chrome|chromium|firefox|wine.*|FEX.*|steam.*)'"
