Menu za logout/suspend/lock/reboot/poweroff za i3 upotrebom dmenu.
~/.i3/config
...
bindsym $mod+Ctrl+q exec ~/.i3/dmenu_shutdown.sh
...
~/.3/dmenu_shutdown.sh
#!/bin/sh
(
echo "lock"
echo "suspend"
echo "logout"
echo "shutdown"
echo "reboot"
) | dmenu "$@" | ~/.i3/dmenu_shutdown_action.sh &
~/.3/dmenu_shutdown_action.sh
#!/bin/sh read ACTION case "$ACTION" in lock) i3lock ;; suspend) systemctl suspend ;; logout) i3-msg exit ;; shutdown) systemctl poweroff ;; reboot) systemctl reboot ;; esac
Napomena, action file je pravljen za sistem koji radi na systemd (u mom slucaju arch).