nikivi Posted May 11, 2018 Share Posted May 11, 2018 (edited) 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 May 11, 2018 by nikivi Link to comment Share on other sites More sharing options...
vitor Posted May 11, 2018 Share Posted May 11, 2018 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 More sharing options...
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