General Settings
UI type, theme, fonts, and window settings
Raffi’s configuration is stored in:
$HOME/.config/raffi/raffi.yamlYou can override this location using the -c or --configfile flag:
raffi --configfile /path/to/custom/config.yamlThe configuration file is a YAML file with three main sections:
launchers: firefox: binary: firefox args: [--marionette] icon: firefox description: Firefox browser with marionette enabledversion: 1
# General settings (optional)general: ui_type: native theme: dark font_size: 20 window_width: 800 window_height: 600
# Launcher entrieslaunchers: firefox: binary: firefox description: "Firefox" icon: firefox args: ["--marionette"]
terminal: binary: kitty description: "Terminal" icon: terminal
# Addons (optional)addons: script_filters: - name: "Timezones" keyword: "tz" command: "batz" args: ["-j"]
web_searches: - name: "Google" keyword: "g" url: "https://google.com/search?q={query}"Most configuration fields support path expansion:
~/ expands to your home directory${VAR} expands to environment variable valueslaunchers: myapp: binary: ${HOME}/bin/myapp args: ["${XDG_DATA_HOME}/files", "~/Documents"] icon: ~/icons/myapp.png ifexist: ~/bin/myapp