From: martin f. krafft Date: Wed, 9 Nov 2016 11:56:58 +0000 (+0100) Subject: enable vcsh hooks X-Git-Url: https://git.madduck.net/etc/xsession.git/commitdiff_plain/99cb4ddbf70afb196ad36f16ea3d3243bb7f66d9?hp=9151061b10ebe59c31dd085041a157429089627a enable vcsh hooks --- diff --git a/.config/vcsh/hooks-available/xsession.post-run+enter b/.config/vcsh/hooks-available/xsession.post-run+enter new file mode 100755 index 0000000..1a0f8df --- /dev/null +++ b/.config/vcsh/hooks-available/xsession.post-run+enter @@ -0,0 +1,4 @@ +#!/bin/sh +for i in ~/.xsession.d/0*; do + . $i +done diff --git a/.config/vcsh/hooks-enabled/xsession.post-enter b/.config/vcsh/hooks-enabled/xsession.post-enter new file mode 120000 index 0000000..ba14497 --- /dev/null +++ b/.config/vcsh/hooks-enabled/xsession.post-enter @@ -0,0 +1 @@ +../hooks-available/xsession.post-run+enter \ No newline at end of file diff --git a/.config/vcsh/hooks-enabled/xsession.post-run b/.config/vcsh/hooks-enabled/xsession.post-run new file mode 120000 index 0000000..ba14497 --- /dev/null +++ b/.config/vcsh/hooks-enabled/xsession.post-run @@ -0,0 +1 @@ +../hooks-available/xsession.post-run+enter \ No newline at end of file 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