diff --git a/bin/omarchy-menu b/bin/omarchy-menu index 22b6e25..7245e1d 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -8,7 +8,7 @@ BACK_TO_EXIT=false back_to() { local parent_menu="$1" - if [[ "$DIRECT_ACCESS" == "true" ]]; then + if [[ "$BACK_TO_EXIT" == "true" ]]; then exit 0 elif [[ -n "$parent_menu" ]]; then "$parent_menu"