amparose Posted July 4 Posted July 4 I haven't been able to find any info on this but still hopeful: is there a way to change Alfred themes via a terminal command?
zeitlings Posted July 4 Posted July 4 1 hour ago, amparose said: I haven't been able to find any info on this but still hopeful: is there a way to change Alfred themes via a terminal command? You can set the theme via AppleScript. I wrote a workflow for myself some time ago for that. To do it via a shell script, you can do something like this: readonly your_literal_theme_name="$1" cat <<EOF | osascript tell application id "com.runningwithcrayons.Alfred" set theThemeName to "$your_literal_theme_name" set theme theThemeName end tell EOF The argument is the name of your theme.
FireFingers21 Posted July 5 Posted July 5 If you just want a simple one-liner, here's another option: osascript -e 'tell application id "com.runningwithcrayons.Alfred" to set theme "Theme Name"'
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