From 421736a147c2ff60c110092f178b95082b7edc04 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sat, 4 Nov 2023 12:00:28 +0100 Subject: [PATCH] make rofi only enable rofi-emoji if installed --- .config/rofi/config.rasi.cgt | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.config/rofi/config.rasi.cgt b/.config/rofi/config.rasi.cgt index 6123151..989bb7b 100644 --- a/.config/rofi/config.rasi.cgt +++ b/.config/rofi/config.rasi.cgt @@ -1,13 +1,24 @@ configuration { - /* requires rofi-emoji */ - modi: "window,drun,combi,emoji,nheko"; + modi: "<% table.concat(modi, ",") %>"; font: "<% opt.font %> 12"; show-icons: true; icon-theme: "<% opt.icon_theme %>";