mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 04:34:35 +00:00
Add logout option to menuquit
This commit is contained in:
parent
17af415787
commit
05dcf54c6a
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
action="$(printf 'Quit WM\nLock session\nLock TTYs\nPoweroff\nReboot\nNothing' | menuprompt -c --app wofi -p "Select Action" -- -O default)"
|
||||
action="$(printf 'Quit WM\nLock session\nLogout\nLock TTYs\nPoweroff\nReboot\nNothing' | menuprompt -c --app wofi -p "Select Action" -- -O default)"
|
||||
|
||||
case "$action" in
|
||||
"Quit WM")
|
||||
|
@ -9,6 +9,9 @@ case "$action" in
|
|||
"Lock session")
|
||||
loginctl lock-session
|
||||
;;
|
||||
"Logout")
|
||||
loginctl terminate-user "$USER"
|
||||
;;
|
||||
"Lock TTYs")
|
||||
physlock
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue