Project

General

Profile

unexist.dev

/

subtle

Assorted tidbits and projects

Tagging » History » Version 15

Anonymous, 09/25/2009 01:25 PM

1 15
h1. Tags\015\012\015\012[[Tags]] are generally used in [[subtle]] for placement of windows. This placement is *strict*, that means that  - aside from other tiling window managers - windows _must have_ a matching [[Tags|tag]] to be on a certain [[Views|view]]. This also includes that windows that are started on a certain view will not automatically be placed there.\015\012\015\012h2. Default tag\015\012\015\012Whenever a window has no [[Tags|tag]] it will get the +default+ [[Tags|tag]] and be placed on the default [[Views|view]]. The +default+ [[Views|view]] can either be set by the user with adding the +default+ [[Tags|tag]] to a [[Views|view]] by choice or otherwise the first defined view will be chosen automatically.\015\012\015\012Example:\015\012\015\012<pre><code class="ruby">\015\012 VIEWS = [\015\012  { "terms" => "terms" },\015\012  { "www"   => "default|browser" },\015\012  { "dev"   => "editor" }\015\012]\015\012</code></pre>\015\012\015\012h2. Properties\015\012\015\012Additionally [[tags]] can do a lot more then just control the placement - they also have properties than can define and control some aspects of a window like the default gravity or the default screen per view.\015\012\015\012\015\012\015\012{{tocnavi(subtle,Grabs,Quickstart,Gravity)}}