X-Git-Url: https://git.madduck.net/etc/xsession.git/blobdiff_plain/f433a87905bb289b15f19244722cbb0e104c6fdf..99cb4ddbf70afb196ad36f16ea3d3243bb7f66d9:/.xsession.d/01-xkb diff --git a/.xsession.d/01-xkb b/.xsession.d/01-xkb index 740395f..1427ef9 100644 --- a/.xsession.d/01-xkb +++ b/.xsession.d/01-xkb @@ -3,11 +3,9 @@ XKBDIR="$HOME/.xkb" #XKBMAPFILE="$XKBDIR/keymap/${(%):-%M}" XKBMAPFILE="$XKBDIR/keymap/$(hostname --fqdn)" -[[ -r "$XKBMAPFILE" ]] || XKBMAPFILE="${XKBMAPFILE%/*}/default" +[ -r "$XKBMAPFILE" ] || XKBMAPFILE="${XKBMAPFILE%/*}/default" -info "loading keymap from $XKBMAPFILE" - -xkbcomp -I"$XKBDIR" "$XKBMAPFILE" "${DISPLAY%%.*}" +xkbcomp -w3 -I"$XKBDIR" "$XKBMAPFILE" "${DISPLAY%%.*}" unset XKBDIR XKBMAPFILE