summaryrefslogtreecommitdiff
path: root/vol
diff options
context:
space:
mode:
authorTslil Clingman <tslil.clingman@gmail.com>2015-06-17 00:21:40 +0200
committerTslil Clingman <tslil.clingman@gmail.com>2015-06-17 00:21:40 +0200
commit9b75c16293db811408829871af37a39038b9aceb (patch)
treecefc21294c0c11f392fac6b34f242584a68bc6da /vol
parent93d5703b12e8c5ca2043f871c60fea6b8d0ca69a (diff)
Simple lock script, tweaked vol to display nicely
Diffstat (limited to 'vol')
-rwxr-xr-xvol6
1 files changed, 5 insertions, 1 deletions
diff --git a/vol b/vol
index 5ff7b12..778abf9 100755
--- a/vol
+++ b/vol
@@ -10,4 +10,8 @@ case "$1" in
*) $cmd toggle;;
esac | grep \% | cut -d\ -f 6,8 | tr -d '[]' > $fle
-ratpoison -c "echo Volume: `cat $fle`"
+for c in "set bargravity ne" "echo Volume: `cat $fle`" "set bargravity c"; do
+ ratpoison -c "$c"
+ echo $c
+done
+