#!/bin/sh

action=$(printf "shutdown\nreboot\nlogout\nautostart" | $DMENU)

case "$action" in
	shutdown)	systemctl poweroff -i ;;
	reboot)		systemctl reboot ;;
	logout)		systemctl --user exit ;;
	autostart)	autostart-manage run ;;
	*)			;; esac