You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
155 B

#!/bin/sh
startx
clear
CHOICE="$(printf 'Shutdown\nLogout' | fzf)"
case $CHOICE in
"Shutdown") exec sudo /bin/shutdown -h now;;
"Logout") exit;;
esac