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