troycurtisjr 4 Posted January 16 Author Share Posted January 16 I've incorporated @paulw snippet to hopefully support Big Sur and previous releases. I can only test on Catalina currently, so if anyone on Big Sur would try out v0.1.3 I would really appreciate it! Let me know how it works out. @paulw While it might work to make mods to that plist file to do the enable/disable, I assume it'd be roughly equivalent to modifying the similar plist file in Catalina and before. That means we'd need to kill the Notification Center process to force a re-read of the preference. However, the indicator would be out of sync, which is why I opted for the keyboard shortcut method, even though that requires more manual setup. paulw 1 Link to post
paulw 15 Posted January 17 Share Posted January 17 (edited) You have a typo in your code: big_sur_dnd_prefs (plural) is defined, but then the singular big_sur_dnd_pref is used. Edit: But it works when I manually edit the typo! Edited January 17 by paulw Link to post
Send Me 0 Posted January 18 Share Posted January 18 @paulw Nice catch!... Always good to see collaborative work. I tested too (not thoroughly) and had mixed results. Tried twice in a row and second time didn't work (turned on dnd but didn't turn off after desired minutes). On second try the 'disable' part never ran. Maybe I didn't give it enough time because of the mentioned delay, if I try to replicate while typing slowly = it works. Link to post
troycurtisjr 4 Posted January 18 Author Share Posted January 18 Thanks for catching that and testing! I've updated to 0.1.4 https://gitlab.com/troycurtisjr/do-not-disturb-limited/-/jobs/artifacts/v0.1.4/raw/do_not_disturb_limited_v0.1.4.alfredworkflow?job=package with the typo fix. Link to post
dd852 1 Posted February 15 Share Posted February 15 I'm still having trouble getting this to work in Big Sur - once or twice it seemed ok, but usually it doesn't do anything. Link to post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now