madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<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 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://"]
  insteadOf = madduck:

improved awesome integration
authormartin f. krafft <>
Sun, 17 Jun 2018 06:49:22 +0000 (08:49 +0200)
committermartin f. krafft <>
Sun, 17 Jun 2018 06:49:22 +0000 (08:49 +0200)

index a5cfab7..49325d0 100755 (executable)
@@ -3,10 +3,9 @@
 echo >&2 Executing autorandr postswitch after $DELAY seconds…
-sleep $DELAY
 if command -v awesome-client >/dev/null; then
-  echo >&2 Restarting awesome…
-  echo "awesome.restart()" | awesome-client
+  echo >&2 Informing the Awesome Window Manager of the new profile…
+  echo "handle_new_autorandr_profile(\"$AUTORANDR_CURRENT_PROFILE\")" |
+    awesome-client >&2