Add confirm-logout.sh

This commit is contained in:
Alexander Rosenberg 2025-01-01 22:24:54 -08:00
parent 34693cf757
commit 3c3782df42
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

5
system-menu/confirm-logout.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env zsh
local resp="$(printf 'Yes\nNo\n' | fuzzel --dmenu --index --prompt 'Really Logout> ')"
[[ "${resp}" == 0 ]] && riverctl exit