]> git.madduck.net Git - etc/awesome.git/commitdiff

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:

thunderbird/firefox case-insensitive class matching
authormartin f. krafft <madduck@madduck.net>
Tue, 10 Mar 2020 18:59:25 +0000 (19:59 +0100)
committermartin f. krafft <madduck@madduck.net>
Tue, 10 Mar 2020 18:59:25 +0000 (19:59 +0100)
.config/awesome/rc.lua

index 12437717986d6f4cbabcd95761081ffd15c66779..eeb197b55c77e67b6bb4eb6e6b1e3189ba323b1c 100644 (file)
@@ -1011,13 +1011,13 @@ awful.rules.rules = {
     { rule = { class = "Revolt" },
       callback = move_to_tag_by_name(nil, "[m]"),
     },
-    { rule = { class = "Firefox" },
+    { rule_any = { class = { "Firefox", "firefox" } },
       callback = move_to_tag_by_name(nil, "ffx"),
     },
     { rule = { class = "Chromium" },
       callback = move_to_tag_by_name(nil, "chr"),
     },
-    { rule = { class = "Thunderbird" },
+    { rule_any = { class = { "thunderbird", "Thunderbird" } },
       callback = move_to_tag_by_name(nil, "cal"),
     },
     { rule = { instance = "mutt" },