Make power script to use fuzzel
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
d6a818ea2e
commit
7206da0e21
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue