Skip to content

Commit 0149558

Browse files
committed
feat: front window?
1 parent 654ef3d commit 0149558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macOS/enableDoNotDisturb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ set command to "
6565
6666
tell application \\"System Events\\"
6767
tell its application process \\"Control ${center}\\"
68-
tell its window 1
68+
tell its front window
6969
-- Check if Do Not Disturb already enabled
7070
set doNotDisturbCheckbox to ${position}
7171
set doNotDisturbCheckboxStatus to value of doNotDisturbCheckbox as boolean

0 commit comments

Comments
 (0)