Skip to content

Commit

Permalink
Use xcape on start
Browse files Browse the repository at this point in the history
  • Loading branch information
dmedvinsky committed Nov 8, 2012
1 parent 12423bb commit 50222a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/xinitrc
Expand Up @@ -41,11 +41,12 @@ check_process() {

# Startup apps.
check_process urxvtd && urxvtd -q -o -f
check_process xcape && xcape -e 'Shift_L=parenleft;Shift_R=parenright;Caps_Lock=Escape'

# Source local settings before running window manager.
[ -f "${HOME}/.local/xinitrc" ] && . "${HOME}/.local/xinitrc"

# Start window manager.
if [ -n "$1" ] ; then wm="$1"; fi
if [ -n "$2" ] ; then wm="$2"; fi
if [ -z "$wm" ] ; then wm=xmonad; fi
exec "$wm"

0 comments on commit 50222a3

Please sign in to comment.