OSDN Git Service
(root)
/
instantos
/
instantOS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c967135
)
instantshutdown auto select
author
paperbenni
<paperbenni@gmail.com>
Fri, 27 Mar 2020 16:45:32 +0000
(17:45 +0100)
committer
paperbenni
<paperbenni@gmail.com>
Fri, 27 Mar 2020 16:45:32 +0000
(17:45 +0100)
programs/instantshutdown
patch
|
blob
|
history
diff --git
a/programs/instantshutdown
b/programs/instantshutdown
index
d6dcc91
..
ce74518
100755
(executable)
--- a/
programs/instantshutdown
+++ b/
programs/instantshutdown
@@
-4,7
+4,9
@@
## shut down pc and break instantwm restart loop ##
###################################################
-answer=$(echo " " | instantmenu -p "do you want to shut down?")
+answer=$(echo "y
+s
+r" | instantmenu -n -p "do you want to shut down?")
# if there are apps open, ask for confirmation
zconfirm() {