Rename exit i3 to logout.

This commit is contained in:
dabruh 2022-06-07 12:42:21 +02:00
parent 027ead5d72
commit aa1f40e58d
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/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 [ -z "$ACTION" ] && exit 1
echo "INFO: Selected action $ACTION." echo "INFO: Selected action $ACTION."
@ -19,7 +19,7 @@ suspend)
hibernate) hibernate)
systemctl hibernate systemctl hibernate
;; ;;
'exit i3') logout)
i3-msg exit i3-msg exit
;; ;;
shutdown) shutdown)