Update README with instance matching

This commit is contained in:
Richard Kolkovich 2014-05-14 10:35:27 -06:00
parent b6cb5b7af4
commit 6c41bb6661
1 changed files with 24 additions and 22 deletions

View File

@ -140,6 +140,7 @@ tyrannical.tags = {
exclusive = true, -- Refuse any other type of clients (by classes) exclusive = true, -- Refuse any other type of clients (by classes)
screen = {1,2}, -- Create this tag on screen 1 and screen 2 screen = {1,2}, -- Create this tag on screen 1 and screen 2
layout = awful.layout.suit.tile, -- Use the tile layout layout = awful.layout.suit.tile, -- Use the tile layout
instance = {"dev", "ops"}, -- Accept the following instances. This takes precedence over 'class'
class = { --Accept the following classes, refuse everything else (because of "exclusive=true") class = { --Accept the following classes, refuse everything else (because of "exclusive=true")
"xterm" , "urxvt" , "aterm","URxvt","XTerm","konsole","terminator","gnome-terminal" "xterm" , "urxvt" , "aterm","URxvt","XTerm","konsole","terminator","gnome-terminal"
} }
@ -225,7 +226,7 @@ Then edit this section to fit your needs.
##### The available tag properties are: ##### The available tag properties are:
| Property | Description | Type | | Property | Description | Type |
| ------------------------- | ---------------------------------------------------- |:----------------:| | ------------------------- | -------------------------------------------------------------- |:----------------:|
| **class** | Match these classes to this tag | array of string | | **class** | Match these classes to this tag | array of string |
| **clone_on** | Create a clone on screen(s) | number or array | | **clone_on** | Create a clone on screen(s) | number or array |
| **exclusive** | Allow only client from the "class" attributes | boolean | | **exclusive** | Allow only client from the "class" attributes | boolean |
@ -234,6 +235,7 @@ Then edit this section to fit your needs.
| **hide** | Hide this tag from view | boolean | | **hide** | Hide this tag from view | boolean |
| **icon** | Tag icon | path | | **icon** | Tag icon | path |
| **init** | Create when awesome launch | boolean | | **init** | Create when awesome launch | boolean |
| **instance** | Match these instances to this tag. Takes precedence over class | array of string |
| **layout** | The tag layout | layout | | **layout** | The tag layout | layout |
| **mwfact** | Tiled layout master/slave ratio | float(0-1) | | **mwfact** | Tiled layout master/slave ratio | float(0-1) |
| **ncol** | Number of columns | number | | **ncol** | Number of columns | number |