alma_philmmanjaro/presets/steam/gamescope-wayland-teardown-workaround
2023-07-03 15:56:02 +02:00

13 lines
231 B
Bash
Executable File

#!/bin/bash
set -eu
TARGETS=('/bin/bash /usr/bin/gamescope-session'
'/usr/bin/kwin_x11')
for target in "${TARGETS[@]}"; do
for processtree in $(pgrep -xf "$target" || true); do
kill -- "-$processtree"
done
done