Release 0.0.1.8.8.7
This commit is contained in:
1 parent
3c8a17aa78
commit
c7beab414c
16283 files changed
+768761
-2
No files matched your search
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Define the pattern to match
|
||||
PATTERN="^gamescope"
|
||||
|
||||
# Find matching PIDs
|
||||
PIDS=$(pgrep -f "$PATTERN")
|
||||
|
||||
# Check if any PIDs were found
|
||||
if [[ -z "$PIDS" ]]; then
|
||||
echo "No matching gamescope processes found."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Kill each PID explicitly
|
||||
echo "Killing the following gamescope-related processes:"
|
||||
echo "$PIDS"
|
||||
for PID in $PIDS; do
|
||||
kill -9 "$PID" && echo "Killed PID $PID" || echo "Failed to kill PID $PID"
|
||||
done
|
||||
|
||||
# Final message after cleanup
|
||||
sleep 2
|
||||
clear
|
||||
echo "Gamescope Reaped."
|
||||
Reference in new issue
Block a user