From: Samir Benmendil Date: Fri, 23 Jan 2015 17:50:16 +0000 (+0000) Subject: xprofile: run xbindkeys only when it exists X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/a84890a5afc05bd4cb52faa11f887e1fe48776df?hp=d02b6aef4e6a11b5edb44c04b60a0b1c88973e78 xprofile: run xbindkeys only when it exists --- diff --git a/xprofile b/xprofile index 09f8073..41e3ea3 100644 --- a/xprofile +++ b/xprofile @@ -5,6 +5,6 @@ xautolock -detectsleep \ -time 20 -locker "i3lock -nc 000000" \ -killtime 70 -killer "systemctl suspend" & xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$(hostname).xkb $DISPLAY -xbindkeys +[[ -x /usr/bin/xbindkeys ]] && xbindkeys xcape -e "Control_L=Escape;Control_R=Escape" urxvtd -q -f -o