While it is not a requirement, it is strongly recommended to use one of the provided themes, or make your own theme which includes a decently large icon size to show off the box arts in all their glory.
To use the themes provided with rofi-games
, just use the rofi
theme flag: -theme theme_name
. Included themes:
To customise further, import one of the base themes provided. For example, I personally have ~/.config/rofi/games.rasi
:
@import "games-default"
textbox-prompt {
str: "";
font: "Inconsolata Nerd Font Mono 24";
padding: 0px 5px 0px 5px;
}
This adds in the search icon, which is not included by default since it requires a Nerd font.
Alternatively, instead of importing, you could also just copy the contents of /usr/share/rofi/themes/games-default.rasi
and edit directly.