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