initial
This commit is contained in:
15
.config/awesome/scripts/logout_script.sh
Executable file
15
.config/awesome/scripts/logout_script.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# a simple dmenu session script
|
||||
#
|
||||
###
|
||||
|
||||
DMENU='dmenu -i'
|
||||
choice=$(echo -e "logout\nshutdown\nreboot\nsuspend\nhibernate" | $DMENU)
|
||||
|
||||
case "$choice" in
|
||||
shutdown) shutdown -h now & ;;
|
||||
reboot) shutdown -r now & ;;
|
||||
suspend) systemctl suspend & ;;
|
||||
hibernate) systemctl hibernate & ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user