Skip to content

Commit 39ca62e

Browse files
mmerlethomaspaulmann
authored andcommitted
close system preferences once audio output is switched
1 parent 408d70b commit 39ca62e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

commands/system/audio-output-switch.template.applescript

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ tell application "System Preferences"
2828
end tell
2929
end tell
3030

31-
do shell script "echo Audio switched to <Device Name>"
31+
quit
3232

3333
end tell
34+
35+
do shell script "echo Audio switched to <Device Name>"

0 commit comments

Comments
 (0)