~mdw
/
profile
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Eterm: resurrect the configuration file.
[profile]
/
xshutdown
1
#! /bin/sh
2
3
set
-
e
4
answer
=
$
(
xmsg
-
Q
-
t xshutdown
-
d
"Really shutdown this session?"
\
5
"Terminating an X session prematurely can really ruin your day."
\
6
=
yes
:
gtk-yes
=
no
:
default
:
cancel
:
gtk-no
)
7
case
"
$answer
"
in
8
yes
)
xatom
set
XINIT_COMMAND
!
break
;;
9
esac