[Awesome] Add Mattermost to the tag 0 by default

This commit is contained in:
Lucien Cartier-Tilet 2020-11-06 14:45:52 +01:00
parent 6e9ac2b490
commit 55cdad04ca
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1316,14 +1316,15 @@
With the use of some rules, it is possible to define which client are With the use of some rules, it is possible to define which client are
assigned to which tag by default. assigned to which tag by default.
#+NAME: rules-default-tags-table #+NAME: rules-default-tags-table
| Client Property | Value | Tag | | Client Property | Value | Tag |
|-----------------+---------+-----| |-----------------+------------+-----|
| class | Emacs | 2 | | class | Emacs | 2 |
| class | firefox | 3 | | class | firefox | 3 |
| class | Nemo | 4 | | class | Nemo | 4 |
| class | Gimp* | 5 | | class | Gimp* | 5 |
| class | discord | 0 | | class | discord | 0 |
| class | Steam | 9 | | class | mattermost | 0 |
| class | Steam | 9 |
#+NAME: rules-default-tags-generate #+NAME: rules-default-tags-generate
#+BEGIN_SRC emacs-lisp :tangle no :exports none :cache yes :var tags=rules-default-tags-table #+BEGIN_SRC emacs-lisp :tangle no :exports none :cache yes :var tags=rules-default-tags-table
@ -1334,12 +1335,13 @@
",\n") ",\n")
#+END_SRC #+END_SRC
#+RESULTS[2b9fe1774ebfde3fc2cfadb24a32dee9b2639144]: rules-default-tags-generate #+RESULTS[ec74b9e45bd477d22e2865de30a9c64973cf0927]: rules-default-tags-generate
: {rule = {class = "Emacs"}, properties = {screen = 1, tag = "2"} }, : {rule = {class = "Emacs"}, properties = {screen = 1, tag = "2"} },
: {rule = {class = "firefox"}, properties = {screen = 1, tag = "3"} }, : {rule = {class = "firefox"}, properties = {screen = 1, tag = "3"} },
: {rule = {class = "Nemo"}, properties = {screen = 1, tag = "4"} }, : {rule = {class = "Nemo"}, properties = {screen = 1, tag = "4"} },
: {rule = {class = "Gimp*"}, properties = {screen = 1, tag = "5"} }, : {rule = {class = "Gimp*"}, properties = {screen = 1, tag = "5"} },
: {rule = {class = "discord"}, properties = {screen = 1, tag = "0"} }, : {rule = {class = "discord"}, properties = {screen = 1, tag = "0"} },
: {rule = {class = "mattermost"}, properties = {screen = 1, tag = "0"} },
: {rule = {class = "Steam"}, properties = {screen = 1, tag = "9"} } : {rule = {class = "Steam"}, properties = {screen = 1, tag = "9"} }
This is what these rules look like: This is what these rules look like: