]> git.rmz.io Git - dotfiles.git/commitdiff
xprofile: xbindkeysrc doesn't need to be executable
authorSamir Benmendil <samir.benmendil@gmail.com>
Mon, 20 Apr 2015 02:42:26 +0000 (03:42 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Mon, 20 Apr 2015 02:42:26 +0000 (03:42 +0100)
xprofile

index fef5b6d6f28e1d6088daf48fe6ff1904d55bd577..8d7bd24b3e63aa6adb39fb3d3772b95cbf976359 100644 (file)
--- a/xprofile
+++ b/xprofile
@@ -6,6 +6,6 @@ xautolock -detectsleep \
           -killtime 70 -killer   "systemctl suspend" &
 xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$(hostname).xkb $DISPLAY
 unclutter -idle 1 -root &
-[[ -x "$XDG_CONFIG_HOME/xbindkeys/$(hostname)" ]] && xbindkeys --file $XDG_CONFIG_HOME/xbindkeys/$(hostname)
+[[ -f "$XDG_CONFIG_HOME/xbindkeys/$(hostname)" ]] && xbindkeys --file $XDG_CONFIG_HOME/xbindkeys/$(hostname)
 xcape -e "Control_L=Escape;Control_R=Escape"
 urxvtd -q -f -o