diff --git a/system-menu/confirm-logout.sh b/system-menu/confirm-logout.sh index a72fc96..06d4c4e 100755 --- a/system-menu/confirm-logout.sh +++ b/system-menu/confirm-logout.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -local resp="$(printf 'Yes\nNo\n' | fuzzel --dmenu --index --prompt 'Really Logout> ')" +local resp="$(printf 'No\nYes\n' | fuzzel --dmenu --prompt 'Really Logout> ')" -[[ "${resp}" == 0 ]] && riverctl exit +[[ "${resp}" == 'Yes' ]] && riverctl exit