Gruvbox dark and light color themes for Rofi
Rofi color themes based on the Gruvbox color scheme.
Includes six versions to choose from:
Dark (gruvbox-dark.theme
)
Dark (soft contrast) (gruvbox-dark-soft.theme
)
Dark (hard contrast) (gruvbox-dark-hard.theme
)
Light (gruvbox-light.theme
)
Light (soft contrast) (gruvbox-light-soft.theme
)
Light (hard contrast) (gruvbox-light-hard.theme
)
These themes are included with Rofi as of version
1.3.0. Run
rofi-theme-selector
to preview/apply them with Rofi's theme selector
script.
See Manual Installation if you wish to install the themes manually. This may be preferable if you plan on customizing them. See also Customization.
-
Download or clone the repository:
git clone https://github.com/bardisty/gruvbox-rofi
-
Edit your Rofi configuration file (
~/.config/rofi/config
) and include one of the themes:#include /home/user/path/to/gruvbox-dark.theme
The following commands will install the dark theme. Replace your-user
in
the last step with your system user account name.
mkdir -p ~/.config/rofi/themes/gruvbox
git clone https://github.com/bardisty/gruvbox-rofi ~/.config/rofi/themes/gruvbox
echo '#include "/home/your-user/.config/rofi/themes/gruvbox/gruvbox-dark.theme"' >> ~/.config/rofi/config
Customization can be done a few ways:
-
Edit a
.theme
file directly, or make a copy of the.theme
file and edit that (see Manual Installation) -
Copy the contents of a
.theme
file into your Rofi configuration file (~/.config/rofi/config
) and modify it there -
Apply a theme with
rofi-theme-selector
or add it to the Rofi configuration file manually (see Manual Installation), then add your overrides under the#include
line, for example:! Gruvbox color scheme #include "/home/user/.config/rofi/themes/gruvbox-dark.theme" ! gruvbox-dark.theme: green for active row background colors (default: yellow) ! bg fg bg-alt hl-bg, hl-fg rofi.color-active: #98971a, #282828, #98971a, #b8bb26, #282828
The last option is ideal if you only want to change a setting or two, such as the active row colors or the border color. It also allows you to easily remain updated with the upstream versions of the themes.