LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rofi

Application launcher and window switcher

TLDR

Show application launcher
$ rofi -show drun
copy
Show command launcher
$ rofi -show run
copy
Switch between open windows
$ rofi -show window
copy
Use as dmenu replacement
$ printf "Choice1\nChoice2\nChoice3" | rofi -dmenu
copy
SSH to a host
$ rofi -show ssh
copy
Use a specific theme
$ rofi -show drun -theme [solarized]
copy

SYNOPSIS

rofi [-show mode] [-dmenu] [-theme theme]

DESCRIPTION

rofi is a versatile application launcher and window switcher. It provides a searchable interface for launching programs, switching windows, running commands, and more.The tool is highly customizable with themes and supports scripting via the dmenu mode. It's popular in tiling window manager setups as a replacement for dmenu.

PARAMETERS

-show _mode_

Show specified mode
-dmenu
Run as dmenu replacement
-theme _theme_
Use specified theme
-modi _modes_
Enable specified modes
-matching _method_
Match method (fuzzy, regex, glob, normal)
-i
Case insensitive matching

CONFIGURATION

~/.config/rofi/config.rasi

Main configuration file in rasi format, controlling modes, keybindings, matching behavior, and default settings.
~/.config/rofi/themes/
Directory for custom theme files that control appearance, colors, fonts, and layout.
~/.local/share/rofi/themes/
Additional theme search path for user-installed themes.

MODES

drun

Desktop application launcher
run
Command launcher
window
Window switcher
ssh
SSH connection manager
keys
Keybinding viewer
combi
Combined modes

INSTALL

sudo apt install rofi
copy
sudo dnf install rofi
copy
sudo pacman -S rofi
copy
sudo apk add rofi-wayland
copy
sudo zypper install rofi
copy
brew install rofi
copy
nix profile install nixpkgs#rofi
copy

CAVEATS

Requires X11 by default; for Wayland, use the rofi-wayland fork. Themes use the rasi format (not CSS). Custom scripts can extend rofi with new modes via the `-modi` option. The dmenu mode reads from stdin and writes the selected entry to stdout.

HISTORY

rofi was created by Dave Davenport as a more feature-rich alternative to dmenu. It has become a standard component in many Linux desktop configurations.

SEE ALSO

dmenu(1), wofi(1), fuzzel(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid