projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
798aff7
)
Better xlock2 command
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Mon, 19 Jul 2010 06:10:38 +0000 (23:10 -0700)
committer
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Mon, 19 Jul 2010 06:10:38 +0000 (23:10 -0700)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
0f1c4e7
..
b068fca
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-15,7
+15,9
@@
xlock2() {
echo "starting xscreensaver..."
xscreensaver &
fi
- xscreensaver-command -lock
+ until xscreensaver-command -lock; do
+ sleep 1
+ done
}
case $- in