From 5547ec844c4f9c1dbd374a37f641d9c504d3829d Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 22 Mar 2020 12:44:57 +0000 Subject: [PATCH] i3/powermenu: add pretty icons --- .config/i3/powermenu.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/i3/powermenu.sh b/.config/i3/powermenu.sh index 8085178..613f771 100755 --- a/.config/i3/powermenu.sh +++ b/.config/i3/powermenu.sh @@ -1,6 +1,7 @@ #!/bin/sh - -option=$(echo "lock|logout|sleep|hibernate|power off|reboot|windows" | rofi -sep "|" -dmenu -i -p "" -auto-select -hide-scrollbar -monitor 0 -width 10 -lines 7 -location 3 -tokenize false -matching normal | xargs) + +option="$(echo " lock| logout| sleep| hibernate| power off| reboot| windows" | \ + rofi -sep "|" -dmenu -i -p "" -auto-select -hide-scrollbar -monitor 0 -width 10 -lines 7 -location 3 -tokenize false -matching normal | cut -d' ' -f2- | xargs)" case $option in lock) dm-tool switch-to-greeter;;