A window switcher, Application launcher and dmenu replacement.
This installs Rofi and sets it up as a Spotlight equivalent.
Important
This guide assumes that you are using KDE Plasma as your desktop environment.
-
Install the
rofipackage usingyay. -
Set a custom shortcut to launch Rofi:
-
Open the System Settings app.
-
Click Shortcuts.
-
Click Custom Shortcuts.
-
Right click an empty space and click New > Global Shortcut > Command/URL.
-
Name the shortcut (i.e.
Run rofi). -
Click Trigger and add a Shortcut (i.e. Alt + Space).
-
Under Action, add the Command,
rofi -show combi.
-
This details a sample configuration and theme customisation to improve Rofi.
-
Create Rofi's config and
themesdirectories:mkdir -p ~/.config/rofi/themes -
Create a theme file for Rofi:
-
Create a theme file named
dt-center.rasi:nano ~/.config/rofi/themes/dt-center.rasi -
Copy the content of the sample dt-center.rasi file and paste it into the theme file.
-
Make your own modifications and add in your own values to the theme file as you see fit, then save the file.
-
-
Create a configuration file named for Rofi:
-
Create a configuration file named
config.rasi:nano ~/.config/rofi/config.rasi -
Copy the content of the sample config.rasi file and paste it into the configuration file.
-
Make your own modifications and add in your own values to the configuration file as you see fit, then save the file.
-
-
Make any desired changes to either the theme,
~/.config/rofi/themes/dt-center.rasior configuration file,~/.config/rofi/config.rasiaccordingly.