]> git.madduck.net Git - etc/awesome.git/blobdiff - Utilities.md

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:

Removed a misplaced space in mpd_notification_preset variable declaration
[etc/awesome.git] / Utilities.md
index 3ab9245721b74940ab3a67a1471c258a342ce21e..217150398c20dd449f44bc55ef7f7c129bd51970 100644 (file)
@@ -48,17 +48,22 @@ dynamic tagging
 
 That is:
 
-- create a new tag;
+- add a new tag;
 - rename current tag;
-- delete current tag.
+- move current tag;
+- remove current tag.
 
 If you delete a tag, any rule set on it shall be broken, so be careful.
 
 Use it with key bindings like these:
 
-    awful.key({ modkey, "Shift" }, "n", function () lain.util.create_tag(mypromptbox) end),
+    awful.key({ modkey, "Shift" }, "n", function () lain.util.add_tag(mypromptbox) end),
     awful.key({ modkey, "Shift" }, "r", function () lain.util.rename_tag(mypromptbox) end),
-    awful.key({ modkey, "Shift" }, "d", function () lain.util.delete_tag() end),
+    awful.key({ modkey, "Shift" }, "r", function () lain.util.move_tag(1) end),  -- move to next tag
+    awful.key({ modkey, "Shift" }, "r", function () lain.util.move_tag(-1) end), -- move to previous tag
+    awful.key({ modkey, "Shift" }, "d", function () lain.util.remove_tag() end),
+
+**Note** that these function won't work properly with [Copland theme](https://github.com/copycat-killer/awesome-copycats) or any other configuration that already uses a dynamic tagging module like [Eminent](https://github.com/copycat-killer/awesome-copycats/tree/master/eminent).
 
 useless\_gaps\_resize
 ---------------------