#!/bin/bash option=$(echo -e "Lock\nShutdown\nReboot\nSleep/suspend\nHibernate" | dmenu -p "Power:" -l 5 -c) case "$option" in "Lock") ~/.config/i3/locker.sh;; "Shutdown") poweroff;; "Reboot") reboot;; "Sleep/suspend") ~/.config/i3/locker.sh suspend;; "Hibernate") ~/.config/i3/locker.sh hibernate;; esac