From 50222a32aa7d92e4420901441f087a9871714db9 Mon Sep 17 00:00:00 2001 From: Dmitry Medvinsky Date: Thu, 8 Nov 2012 13:59:54 +0400 Subject: [PATCH] Use xcape on start --- x/xinitrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x/xinitrc b/x/xinitrc index 212a85f..566d1ad 100644 --- a/x/xinitrc +++ b/x/xinitrc @@ -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"