Add doom emacs config

This commit is contained in:
Smirnov Olexandr 2020-12-29 21:01:28 +02:00
parent e3c86138ef
commit 70e19a1b38
10 changed files with 218 additions and 63 deletions

View file

@ -15,13 +15,7 @@ case "$choice" in
esac
;;
"Lock")
declare opt=("Yes\nNo")
yesno=$(echo -e "${opt[@]}" | dmenu -p 'Power' $@)
case "$yesno" in
"Yes") exec betterlockscreen --off 300 -t "Computer is lockerd" -l;;
"No") exec exit 0 ;;
esac
;;
exec betterlockscreen --off 300 -t "Computer is lockerd" -l ;;
"Logout")
declare opt=("Yes\nNo")
yesno=$(echo -e "${opt[@]}" | dmenu -p 'Logout' $@)