We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 654ef3d commit 0149558Copy full SHA for 0149558
src/macOS/enableDoNotDisturb.ts
@@ -65,7 +65,7 @@ set command to "
65
66
tell application \\"System Events\\"
67
tell its application process \\"Control ${center}\\"
68
- tell its window 1
+ tell its front window
69
-- Check if Do Not Disturb already enabled
70
set doNotDisturbCheckbox to ${position}
71
set doNotDisturbCheckboxStatus to value of doNotDisturbCheckbox as boolean
0 commit comments