view bin/keyshelp.sh @ 870:ff31f0975d71

dont add the PEMs
author Jeff Hammel <k0scist@gmail.com>
date Fri, 16 Nov 2018 10:09:16 -0800
parents f3ab51c79813
children
line wrap: on
line source

#!/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 -