10 lines
206 B
Bash
Executable file
10 lines
206 B
Bash
Executable file
#!/bin/sh
|
|
processes=("polybar" "sxhkd" "pavucontrol" "polkit-dumb-agent")
|
|
|
|
for process in "${processes[@]}"; do
|
|
if ps -p "$process" -o pid > /dev/null; then
|
|
kill -9 "$process"
|
|
sleep 0.1
|
|
fi
|
|
done
|