mirror of https://gitlab.com/dabruh/dotfiles.git
Rename exit i3 to logout.
This commit is contained in:
parent
027ead5d72
commit
aa1f40e58d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue