Upgrade system menu features

This commit is contained in:
2023-10-30 23:27:58 -07:00
parent cf73e8a8ed
commit a502b72299
3 changed files with 39 additions and 2 deletions

View File

@ -0,0 +1,17 @@
#!/usr/bin/env zsh
choice="$(fuzzel --index -d <<'EOF'
Shutdown
Restart
EOF
)"
(( ${?} != 0 )) && exit
case "${choice}" in
0)
poweroff
;;
1)
restart
;;
esac