mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
Update git, tmux, vscode, nvim, update bin's, openbox
This commit is contained in:
parent
197750ffa3
commit
4400d0aac8
13 changed files with 64 additions and 1059 deletions
|
|
@ -11,19 +11,16 @@ case "$choice" in
|
|||
case "$(echo -e "Yes\nNo"|${menucmd} -p "ShutDown" $@)" in
|
||||
"Yes") exec systemctl poweroff ;;
|
||||
"No") exec exit 0 ;;
|
||||
esac
|
||||
;;
|
||||
esac ;;
|
||||
"Lock") exec betterlockscreen --off 300 -t "Computer is lockerd" -l ;;
|
||||
"Logout")
|
||||
case "$(echo -e "Yes\nNo"|${menucmd} -p "ShutDown" $@)" in
|
||||
case "$(echo -e "Yes\nNo"|${menucmd} -p "Logout" $@)" in
|
||||
"Yes") exec loginctl terminate-session $XDG_SESSION_ID ;;
|
||||
"No") exec exit 0 ;;
|
||||
esac
|
||||
;;
|
||||
esac ;;
|
||||
"Reboot")
|
||||
case "$(echo -e "Yes\nNo"|${menucmd} -p "Reboot" $@)" in
|
||||
"Yes") exec systemctl reboot ;;
|
||||
"No") exec exit 0 ;;
|
||||
esac
|
||||
;;
|
||||
esac ;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue