From f76ee8b1c072ff54dee6fb832e44898cf9ea23a8 Mon Sep 17 00:00:00 2001 From: Botspot Date: Fri, 2 Oct 2020 08:20:08 -0500 Subject: [PATCH] improve formatting --- gui | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/gui b/gui index 8d45499..b7a7319 100755 --- a/gui +++ b/gui @@ -56,23 +56,23 @@ $i --button=Uninstall!"${DIRECTORY}/icons/uninstall.png":2 \ --button=Details!"${DIRECTORY}/icons/info.png"!'View more about the selected software:0' \ 2>/dev/null)" - + button=$? #get exit code to determine which button was pressed echo "Button: ${button}" if [ $button -eq 252 ];then #if window manager x was pressed exit 0 fi - + echo "Output: ${output}EOO" - - if [ -z "$output" ];then - echo "output variable empty!" - yad --center --title='Pi-Apps' --width=310 \ - --window-icon="${DIRECTORY}/icons/logo.png" \ - --text="Mind reading is not supported. -(You didn"\'"t select an App)" \ - --button=OK:0 - fi + + if [ -z "$output" ];then + echo "output variable empty!" + yad --center --title='Pi-Apps' --width=310 \ + --window-icon="${DIRECTORY}/icons/logo.png" \ + --text="Mind reading is not supported. + (You didn"\'"t select an App)" \ + --button=OK:0 + fi done case $button in