New backup 2024-04-10 13:30:04

This commit is contained in:
Penelope Gwen 2024-04-10 13:30:04 -06:00
parent 3440207ce4
commit 6a68411f86

View file

@ -1,7 +1,19 @@
#!/bin/bash
getpids() {
pids=( $(pgrep swaybg) )
}
pgrep swaybg
killpids(){
for i in ${pids[@]};do
kill "${i}" && echo "killed ${i}"
done
}
getpids
#echo ${pids[@]}
killpids
exit