dotfiles/.config/rofi/config.rasi.cgt

16 lines
447 B
Text

<!
-- Only enable nheko mode if rofi-nheko is installed.
local have_rofi_nheko = opt.fileExists(
_G.os.getenv "HOME"
.. "/.local/lib/rofi/librofi_nheko.so"
)
!>
configuration {
/* requires rofi-emoji */
modi: "window,drun,combi,emoji<! if have_rofi_nheko then !>,nheko<! end !>";
font: "<% opt.font %> 12";
show-icons: true;
icon-theme: "<% opt.icon_theme %>";
combi-modi: "drun,nheko,window,run";
}
@theme "dracula-sidebar.rasi"