#!/bin/bash RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -p "Sayonara" -fn "JetBrains Mono Nerd Font Mono:style=medium:size=9" -nb "#171a1f" -nf "#f3f4f5" -sb "#c6c8d1" -sf "#171a1f") case $RET in shutdown) systemctl poweroff ;; reboot) systemctl reboot ;; sleep) systemctl suspend ;; lock) xset s activate ;; *) ;; esac