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