Name

rofile - Configurable rofi profiles.

Synopsis

rofile <profile> [args]

Description

Runs rofi with arguments determined by profile. Any additional args are also passed to rofi.

Profile arguments are read from environment variables and from ~/.config/rofi/profile.conf . When invoked as $prog foo bar baz, rofile runs

rofi -theme-str "$ROFI_FOO_THEMESTR" $ROFI_FOO_ARGS bar baz

Examples

If you have these variables defined in ~/.config/rofi/profile.conf

ROFI_BLEZZ_ARGS='-show blezz -modi blezz -auto-select -matching normal -blezz-directory'
ROFI_BLEZZ_THEMESTR='entry {placeholder:"Press hotkey";}'

Then this:

rofile blezz Macro

is the same as this:

rofi -theme-str 'entry {placeholder:"Press hotkey";}' \
     -show blezz -modi blezz -auto-select -matching normal -blezz-directory \
     Macro

Authors

rofile was written by DMBuce.

Distribution

The latest version of rofile can be downloaded from the i3b project.