madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

enable vcsh hooks
authormartin f. krafft <madduck@madduck.net>
Wed, 9 Nov 2016 11:56:58 +0000 (12:56 +0100)
committermartin f. krafft <madduck@madduck.net>
Wed, 9 Nov 2016 11:56:58 +0000 (12:56 +0100)
.config/vcsh/hooks-available/xsession.post-run+enter [new file with mode: 0755]
.config/vcsh/hooks-enabled/xsession.post-enter [new symlink]
.config/vcsh/hooks-enabled/xsession.post-run [new symlink]
.xsession.d/01-xkb

diff --git a/.config/vcsh/hooks-available/xsession.post-run+enter b/.config/vcsh/hooks-available/xsession.post-run+enter
new file mode 100755 (executable)
index 0000000..1a0f8df
--- /dev/null
@@ -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 (symlink)
index 0000000..ba14497
--- /dev/null
@@ -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 (symlink)
index 0000000..ba14497
--- /dev/null
@@ -0,0 +1 @@
+../hooks-available/xsession.post-run+enter
\ No newline at end of file
index 740395f..1427ef9 100644 (file)
@@ -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