From 5088b7f823bedf4ce860a53a4544a83e8b33ff63 Mon Sep 17 00:00:00 2001 From: zenobit Date: Sat, 16 Dec 2023 06:08:15 +0100 Subject: [PATCH] qr: update --- qrun | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qrun b/qrun index abafe81..be69ca1 100755 --- a/qrun +++ b/qrun @@ -142,6 +142,7 @@ gum_choose_VM() { else gum style --foreground 1 "Can't!" fi + #chosen=$(printf '%s\n' "${vms[@]%.conf}" | gum filter --height "$("${vms[@]%.conf}" | wc -l)" --header='Choose VM to run') } create_VM() { @@ -254,6 +255,12 @@ need Nerd Fonts" && echo "yes" > /tmp/icons || rm /tmp/icons show_headers } +icons_or() { + gum confirm " Use icons? +need Nerd Fonts" && echo "yes" > /tmp/icons || rm /tmp/icons + show_headers +} + # MENU _show_menu() { while true