]> git.rmz.io Git - dotfiles.git/blobdiff - xprofile
vim: add bindings for quit-another-window
[dotfiles.git] / xprofile
index eedbcc45ab92d5daecd865507561015ad83d44db..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 /usr/bin/xbindkeys ]] && xbindkeys
+[[ -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