This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
read -p "Enter command: " input | |
api_key="YOUR_OPENAI_API_KEY_HERE" | |
prompt="\n\nHuman: please analyze the input text: '$input', \ | |
and provide only the text that would fit directly into an osascript -e command to perform this action. \ | |
DO NOT INCLUDE osascript -e itself and DO NOT return whitespace in front of the answer and DO NOT RETURN new line \ | |
DO NOT add string escape for slash or double quote or single quote at all \ | |
\n\nAssistant:" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Forcing the system to use light theme appearance | |
defaults write -g NSRequiresAquaSystemAppearance -bool Yes | |
# "Except" the following... | |
defaults write com.apple.HIToolbox NSRequiresAquaSystemAppearance -bool No | |
defaults write com.apple.OSDUIHelper NSRequiresAquaSystemAppearance -bool No | |
defaults write com.apple.Spotlight NSRequiresAquaSystemAppearance -bool No | |
defaults write com.apple.menuextra.textinput NSRequiresAquaSystemAppearance -bool No | |
defaults write com.apple.notificationcenterui NSRequiresAquaSystemAppearance -bool No | |
defaults write com.apple.TextInputSwitcher NSRequriesAquaSystemAppearance -bool No |