diff bin/keyshelp.sh @ 0:f3ab51c79813

adding configuration from https://svn.openplans.org/svn/config_jhammel/
author k0s <k0scist@gmail.com>
date Thu, 15 Oct 2009 11:41:26 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/keyshelp.sh	Thu Oct 15 11:41:26 2009 -0400
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# help message for fluxbox keys
+if which gxmessage
+then
+    XMESSAGE="gxmessage -borderless"
+else
+    XMESSAGE=xmessage
+fi
+
+cat <(echo -e "Press <Control>+<Alt>+key to use the commands: \n") <(sed -n '/Control Mod1.*ExecCommand/ {s/Control Mod1//g;s/ExecCommand//g;s/:.*#/:/g;p}' ~/.fluxbox/keys) | ${XMESSAGE} -timeout 20 -nearmouse -file -