#!/bin/bash options="⏻ Éteindre\n Redémarrer\n Veille\n Déconnexion" chosen=$(echo -e "$options" | rofi -dmenu -i -p "Power") case "$chosen" in *Éteindre) systemctl poweroff ;; *Redémarrer) systemctl reboot ;; *Veille) systemctl suspend ;; *Déconnexion) awesome-client 'awesome.quit()' ;; esac