#!/bin/sh cfg="$HOME/.xmonad/xmonad.hs" keys=`grep key: $cfg | sed -e 's/-- //' -e 's/$//'` kdialog --msgbox "Xmonad Keys based on $cfg:$keys"