From ebd8d9ef2caa6be45416e59736cf0e69c7ce4672 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 1 Jan 2025 22:59:07 -0800 Subject: [PATCH] Make confirm-logout.sh default to no --- system-menu/confirm-logout.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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