Rofi Configuration File
3.3 | 4 Votes
What is a RASI file?
A RASI file is a plain text configuration or theme file used to modify Rofi, a Linux application launcher. It contains settings that determine how Rofi appears and functions. RASI files are stored in the ~/.config/rofi directory.
Rofi is a window switcher, run dialog, menu system, and SSH launcher available for Linux operating systems. Rofi users can configure a number of program-level settings, including which features the program shows, which theme the program uses, and which font the program uses, by specifying them in config.rasi.
The themes that users specify within config.rasi are also saved in RASI files, which are named themename.rasi. RASI theme files contain many color, window, and other UI-related settings, while RASI configuration files contain only a handful of program-level settings (including the modi, theme, font, and combi-modi settings), making the two types of RASI files easy to tell apart. RASI configuration and theme files are both saved in the ~/.config/rofi directory.
Common RASI Filenames
config.rasi - Name of the file used to configure program-level Rofi settings.
How to open a RASI file
Because RASI files are plain text files, you can open and edit them in any text editor.
To use a RASI configuration file as your Rofi configuration, you must save it with the filename config.rasi and store it in the ~/.config/rofi directory. Make sure to store only one config.rasi file in the ~/.config/rofi directory
To specify a RASI theme file as your Rofi theme, save it in the ~/.config/rofi directory and then specify its name (minus the .rasi extension) in the theme setting of your config.rasi file. For example, if you wanted to use blue.rasi as your Rofi theme, you would add the setting theme: "blue" to config.rasi.