mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
🎨 Update
This commit is contained in:
parent
07805d44aa
commit
0d2b7d6ba3
28 changed files with 668 additions and 225 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue