Jump to content

Alfred Theme override via JSON config


Recommended Posts

For instance, to allow a theme to be specified for a particular Text View or Script Filter instance.

 

Possible implementation:

{
  "alfredworkflow" : {
    "arg" : "{var:runtime_argument}",
    "config" : {
      "fontsizing" : "{var:text_view_font_size}"
    },
    "variables" : {
      "alfred_theme" : "{var:text_view_theme_override}"
    }
  }
}

 

Where text_view_theme_override has been set to, e.g., theme.custom.914F4F4C-49AF-499A-A4BE-7BD657F7D4F6 in the environment variables.

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...