10 lines
206 B
Bash
10 lines
206 B
Bash
|
#!/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
|