Overview
Rofi is configured as a versatile application launcher supporting multiple modes including application launching, file browsing, window switching, and clipboard management.Configuration Location
Modes
Rofi is configured with multiple modes:Available Modes
- drun
- run
- filebrowser
- window
- clipboard
Desktop ApplicationsShows
.desktop files from:/usr/share/applications/~/.local/share/applications/
General Settings
Behavior
- Case-insensitive search by default
- Cycling through results enabled
- Icons displayed using BeautySolar theme
Matching
Display Names
Desktop Application Settings
Parsing Desktop Files
.desktop files.
Fallback Icon
File Browser Settings
- Directories listed before files
- Sorted alphabetically by name
Window Switcher Settings
[window id] - [class] - [title]
Appearance
Font
Terminal
Themes
Rofi themes are loaded from~/.config/rofi/themes/.
Example usage in Hyprland config:
Usage
Launching Rofi
- Applications
- Commands
- Windows
- Files
- Clipboard
Keybindings
Default Rofi keybindings:| Key | Action |
|---|---|
Enter | Select item |
Esc | Close Rofi |
Tab | Next match |
Shift+Tab | Previous match |
Ctrl+J/K | Next/previous match (vi-style) |
Ctrl+V | Switch to next mode |
Alt+[1-9] | Jump to mode number |
Hyprland Integration
In~/.config/hypr/hyprland.conf:
modules/keybindings.conf:
Super + P to launch Rofi.
Clipboard Integration
Usingcliphist for clipboard history:
Super + V for clipboard history.
Setting Up cliphist
Customizing Themes
Using Built-in Themes
Creating Custom Themes
Themes use RASI (Rofi Advanced Style Information) syntax:Icon Theme
Installing BeautySolar
The configuration uses the BeautySolar icon theme:Changing Icon Theme
Performance
History
Desktop Cache
FAQ
Icons not showing?
Icons not showing?
Install the icon theme:Set in config:
How do I change the font?
How do I change the font?
Edit Ensure the font is installed system-wide.
config.rasi:Can I use Rofi for custom scripts?
Can I use Rofi for custom scripts?
Yes! Use Returns selected option to stdout.
-dmenu mode:How do I see all keybindings?
How do I see all keybindings?
Run:Or check the man page:
Theme changes not applying?
Theme changes not applying?
Ensure theme file exists:Check for syntax errors:
Advanced Usage
Custom Scripts with dmenu Mode
SSH Connection Launcher
~/.ssh/config and /etc/ssh/ssh_known_hosts.