]> git.rmz.io Git - dotfiles.git/commitdiff
xprofile: replace $HOST with $(hostname)
authorSamir Benmendil <samir.benmendil@gmail.com>
Wed, 14 May 2014 04:23:40 +0000 (05:23 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Wed, 14 May 2014 04:23:40 +0000 (05:23 +0100)
for some reason $HOST in sometimes not set, at least since I switched
to LightDM

xprofile

index 0f7c9a30d595e35b6fa1be0748daf3c78796c48e..405ba3b6beaf76019043a8110b38e203cf77e583 100644 (file)
--- a/xprofile
+++ b/xprofile
@@ -4,7 +4,7 @@ xautolock -detectsleep \
           -notify  300 -notifier "xset dpms force off" \
           -time     10 -locker   "i3lock -nc 000000" \
           -killtime 90 -killer   "systemctl suspend" &
-xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$HOST.xkb $DISPLAY
+xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$(hostname).xkb $DISPLAY
 xbindkeys
 xcape -e "Control_L=Escape;Control_R=Escape"
 urxvtd -q -f -o