diff --git a/.local/bin/dmenuexit b/.local/bin/dmenuexit index e04a683..91fa2ff 100755 --- a/.local/bin/dmenuexit +++ b/.local/bin/dmenuexit @@ -1,6 +1,6 @@ #!/bin/bash -ACTION="$(xargs -n 1 <<<"Lock Suspend Hibernate 'Exit i3' Shutdown Reboot" | dmenu -i -p "exitctl")" +ACTION="$(xargs -n 1 <<<"Lock Suspend Hibernate Logout Shutdown Reboot" | dmenu -i -p "exitctl")" [ -z "$ACTION" ] && exit 1 echo "INFO: Selected action $ACTION." @@ -19,7 +19,7 @@ suspend) hibernate) systemctl hibernate ;; -'exit i3') +logout) i3-msg exit ;; shutdown)