Make confirm-logout.sh default to no

This commit is contained in:
Alexander Rosenberg 2025-01-01 22:59:07 -08:00
parent 3c3782df42
commit ebd8d9ef2c
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -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