Jump to content

Different Alfred Themes in different apps


Recommended Posts

I have two themes I like to use. One dark and one light theme. 

 

I would like to have Alfred use one of these themes in some apps but not others. In my case I would like to have Light theme be Default. However I want to make iTerm and Sublime Text two apps where Alfred invocation (both normal hotkey or triggered through hotkey or external trigger) will use the Dark theme instead.

 

Would this be possible to add to Alfred?

Edited by nikivi
Link to comment
Share on other sites

You can change Alfred’s theme via AppleScript. So the solution here is to build a Workflow that once triggered will use AppleScript to detect the frontmost app, change Alfred’s theme accordingly, and then invoke Alfred.

 

It will make calling Alfred slower, but that’d also happen if this were added natively. If it’ll make it noticeably slower is something to see.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...