]> git.rmz.io Git - dotfiles.git/commitdiff
xprofile: run xbindkeys only when it exists
authorSamir Benmendil <samir.benmendil@gmail.com>
Fri, 23 Jan 2015 17:50:16 +0000 (17:50 +0000)
committerSamir Benmendil <samir.benmendil@gmail.com>
Fri, 23 Jan 2015 20:44:57 +0000 (20:44 +0000)
xprofile

index 09f8073d2950eea5386eaa571fa33ff7e18ee9cf..41e3ea3543f06656ef6844351a03bcb7febb3b04 100644 (file)
--- 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