🎨 Update

This commit is contained in:
Smirnov Olexandr 2020-11-25 20:53:55 +02:00
parent 07805d44aa
commit 0d2b7d6ba3
28 changed files with 668 additions and 225 deletions

View file

@ -1,10 +1,11 @@
#!/usr/bin/env bash
set -e
set -u
all=(shutdown reboot suspend hibernate logout lockscreen)
show=("${all[@]}")
show=("${all[@]}")
declare -A texts
texts[lockscreen]="lock screen"
@ -34,7 +35,6 @@ actions[reboot]="systemctl reboot"
actions[shutdown]="systemctl poweroff"
confirmations=(reboot shutdown logout)
dryrun=false
showsymbols=true
@ -212,4 +212,4 @@ else
done
echo "Invalid selection: $selection" >&2
exit 1
fi
fi