Bash files

This commit is contained in:
2019-08-16 20:06:22 -07:00
parent f2602d913b
commit 47f34ca29f
3 changed files with 80 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
# username ALL=(ALL:ALL) NOPASSWD:/usr/sbin/pm-suspend,/usr/sbin/pm-hibernate,/sbin/reboot,/sbin/shutdown
#
confirm() {
ans=$(echo -e "Yes\nNo" | dmenu -p "Leave session - Confirm?")
ans=$(echo -e "Yes\nNo" | dmenu -p "$1 - Confirm?")
echo $ans
if [ "$ans" = "Yes" ]; then
echo "Leaving..."