X-Git-Url: https://git.madduck.net/etc/xsession.git/blobdiff_plain/9fb497738f6dbcdc8e0cbacf194200ab1e3d62b1..5a12b8927d1fad83964638d5e2fc9c3bf8a6679a:/.xsession.d/01-xkb?ds=sidebyside diff --git a/.xsession.d/01-xkb b/.xsession.d/01-xkb index 6d19628..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%/*}/defaul" +[ -r "$XKBMAPFILE" ] || XKBMAPFILE="${XKBMAPFILE%/*}/default" -info "loading keymap from $XKBMAPFILE" - -xkbcomp -I"$XKBDIR" "$XKBMAPFILE" "${DISPLAY%%.*}" +xkbcomp -w3 -I"$XKBDIR" "$XKBMAPFILE" "${DISPLAY%%.*}" unset XKBDIR XKBMAPFILE