#!/bin/sh choice="$(printf 'poweroff suspend hibernate reboot ' | commander -c -d)" [ "$choice" ] && systemctl "$choice"