From 3c3782df4281343b690dae55ad335b8289c2d5b5 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 1 Jan 2025 22:24:54 -0800 Subject: [PATCH] Add confirm-logout.sh --- system-menu/confirm-logout.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 system-menu/confirm-logout.sh 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