mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-16 03:06:32 +00:00
10 lines
322 B
Plaintext
10 lines
322 B
Plaintext
|
#! /bin/bash
|
||
|
|
||
|
# if plutil -extract doNotDisturbDate xml1 -o - ~/Library/Preferences/ByHost/com.apple.notificationcenterui.*.plist &> /dev/null; then
|
||
|
if [ "$(defaults -currentHost read ~/Library/Preferences/ByHost/com.apple.notificationcenterui doNotDisturb)" == "1" ]; then
|
||
|
echo "Yes"
|
||
|
else
|
||
|
echo "No"
|
||
|
exit 1
|
||
|
fi
|