wofi-session: Close on cancel

This commit is contained in:
Harzo 2023-06-21 13:13:47 +02:00
parent d4faa9f30e
commit 11871e5112
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
#!/bin/sh
option="$(printf "󰍃 Log out\n⏻ Shutdown\n Reboot\n Suspend\n Hibernate" | \
wofi --dmenu -p "Session")"
option="$(printf "󰍃 Log out\n⏻ Shutdown\n Reboot\n Suspend\n Hibernate" | wofi --dmenu -p "Session")" || exit 0
dialogue_box() {
yad --image=gtk-dialog-question \