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:
e89128f
)
add text to instantshutdown
author
paperbenni
<paperbenni@gmail.com>
Fri, 3 Apr 2020 22:27:23 +0000
(
00:27
+0200)
committer
paperbenni
<paperbenni@gmail.com>
Fri, 3 Apr 2020 22:27:23 +0000
(
00:27
+0200)
programs/instantshutdown
patch
|
blob
|
history
diff --git
a/programs/instantshutdown
b/programs/instantshutdown
index
ce74518
..
fb42b1a
100755
(executable)
--- a/
programs/instantshutdown
+++ b/
programs/instantshutdown
@@
-4,9
+4,10
@@
## shut down pc and break instantwm restart loop ##
###################################################
-answer=$(echo "y
-s
-r" | instantmenu -n -p "do you want to shut down?")
+answer=$(echo "yes
+no
+logout
+reboot" | instantmenu -n -p "do you want to shut down?")
# if there are apps open, ask for confirmation
zconfirm() {