2023-04-29 00:13:00 +02:00
|
|
|
<!
|
|
|
|
-- 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"
|
|
|
|
)
|
|
|
|
!>
|
2021-06-01 13:12:00 +02:00
|
|
|
configuration {
|
2021-09-01 12:42:03 +02:00
|
|
|
/* requires rofi-emoji */
|
2023-04-29 00:13:00 +02:00
|
|
|
modi: "window,drun,combi,emoji<! if have_rofi_nheko then !>,nheko<! end !>";
|
2023-01-20 22:30:45 +01:00
|
|
|
font: "<% opt.font %> 12";
|
2021-06-01 13:12:00 +02:00
|
|
|
show-icons: true;
|
2023-01-26 21:17:16 +01:00
|
|
|
icon-theme: "<% opt.icon_theme %>";
|
2022-07-11 15:56:42 +02:00
|
|
|
combi-modi: "drun,nheko,window,run";
|
2021-06-01 13:12:00 +02:00
|
|
|
}
|
2023-06-08 23:17:19 +02:00
|
|
|
@theme "catppuccin-sidebar.rasi"
|