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:

Disable client minimising with mouse click
authormartin f. krafft <madduck@madduck.net>
Thu, 6 Oct 2016 09:43:20 +0000 (11:43 +0200)
committermartin f. krafft <madduck@madduck.net>
Thu, 6 Oct 2016 09:43:20 +0000 (11:43 +0200)
.config/awesome/rc.lua

index cd7b3005e32f1a47195ef7f92cf95ff52522aaef..9abf49f74cbab77e49f5c15ec2c604fbb7bec80e 100644 (file)
@@ -175,7 +175,8 @@ mytasklist = {}
 mytasklist.buttons = awful.util.table.join(
                      awful.button({ }, 1, function (c)
                                               if c == client.focus then
-                                                  c.minimized = true
+                                                  -- I don't like click-minimising
+                                                  -- c.minimized = true
                                               else
                                                   -- Without this, the following
                                                   -- :isvisible() makes no sense