From 7206da0e211b81fa817e04c5224ff86b63048a72 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Tue, 4 Jan 2022 16:39:50 +0100 Subject: [PATCH] Make power script to use fuzzel Signed-off-by: Severin Kaderli --- system/.local/bin/power | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/.local/bin/power b/system/.local/bin/power index 755bcd9..f531c8b 100755 --- a/system/.local/bin/power +++ b/system/.local/bin/power @@ -25,7 +25,8 @@ ACTIONS=( "6: Powersave Mode" ) -SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | rofi -dmenu -i -p "${PROMPT}" | cut -d ":" -f1) +SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | fuzzel -dmenu -I | cut -d ":" -f1) + case "${SELECTION}" in "1") systemctl reboot