mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-12-06 19:29:21 +01:00
[presets] add steamos files
This commit is contained in:
12
presets/steam/steamos/bin/gamescope-wayland-teardown-workaround
Executable file
12
presets/steam/steamos/bin/gamescope-wayland-teardown-workaround
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user