Skip to content

Commit 68bf72d

Browse files
author
Aadharsh Pannirselvam
committed
switched to pkill from kill
1 parent 9ce5808 commit 68bf72d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
-624 Bytes
Binary file not shown.

spotty/spotty.applescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on poll()
2424
end poll
2525

2626
on relaunch() -- quit, then relaunch and play
27-
tell application "System Events" to do shell script "kill -9 " & unix id of process "Spotify"
27+
do shell script "pkill -9 -x Spotify"
2828
repeat until application "Spotify" is not running -- waits until spotify's properly quit
2929
end repeat
3030
tell application "Spotify"

0 commit comments

Comments
 (0)