Bash files
This commit is contained in:
@@ -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..."
|
||||
|
Reference in New Issue
Block a user