Skip to content

Latest commit

 

History

History
100 lines (59 loc) · 2.48 KB

File metadata and controls

100 lines (59 loc) · 2.48 KB

Rofi

Description

A window switcher, Application launcher and dmenu replacement.

Directory

References


Use as Spotlight Alternative

Description

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.

Steps

  1. Install the rofi package using yay.

  2. 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.


Configuration

Description

This details a sample configuration and theme customisation to improve Rofi.

References

Steps

  1. Create Rofi's config and themes directories:

    mkdir -p ~/.config/rofi/themes
  2. 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.

  3. 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.

  4. Make any desired changes to either the theme, ~/.config/rofi/themes/dt-center.rasi or configuration file, ~/.config/rofi/config.rasi accordingly.