From: Samir Benmendil Date: Wed, 14 May 2014 04:23:40 +0000 (+0100) Subject: xprofile: replace $HOST with $(hostname) X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/62206b5501ae493c8a58daaf7bea0c826f0cdb3d xprofile: replace $HOST with $(hostname) for some reason $HOST in sometimes not set, at least since I switched to LightDM --- diff --git a/xprofile b/xprofile index 0f7c9a3..405ba3b 100644 --- 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