From 9adf9948b03ef2d135a1f58ebe01a8c72024685e Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Mon, 11 May 2020 12:58:50 +0200 Subject: [PATCH] Add emojis to powermenu --- .local/bin/scripts/powermenu | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.local/bin/scripts/powermenu b/.local/bin/scripts/powermenu index 162f603..f1231d3 100755 --- a/.local/bin/scripts/powermenu +++ b/.local/bin/scripts/powermenu @@ -1,11 +1,11 @@ #!/usr/bin/env sh -WHAT="$(printf "Shutdown\nSuspend\nLock\nReboot" | rofi -dmenu -i -p 'What do you want?' -l 4)" +WHAT="$(printf " Shutdown\n Reboot\n Lock\n Suspend" | rofi -dmenu -i -p 'Powermenu' -l 4 -width 10px)" if [ -z "$WHAT" ]; then exit; fi case "$WHAT" in - Shutdown) systemctl poweroff;; - Suspend) lockscreen; systemctl suspend;; - Lock) lockscreen;; - Reboot) systemctl reboot + " Shutdown") systemctl poweroff;; + " Suspend") lockscreen; systemctl suspend;; + " Lock") lockscreen;; + " Reboot") systemctl reboot esac