Project

General

Profile

unexist.dev

/

subtle

Assorted tidbits and projects

Tagging » History » Version 15

Version 14 (Anonymous, 09/08/2009 05:50 PM) → Version 15/66 (Anonymous, 09/25/2009 01:25 PM)

h1. Tags\015\012\015\012[[Tags]] are generally used in [[subtle]] for placement [[Subtle|subtle]] to fulfill two main tasks: \015\012# Determine the visibility of windows. This placement is *strict*, that means that - aside from other tiling window managers - windows _must have_ a matching [[Tags|tag]] to be client on a certain [[Views|view]]. This also includes that windows that view\015\012# Define startup properties and the [[Gravity|gravity]]\015\012\015\012Therefore there 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 three different types of predefined tags:\015\012\015\012+Placement+:\015\012Placement tags generally control the +default+ [[Tags|tag]] and be placed visibility of clients on the default [[Views|view]]. views. The +default+ [[Views|view]] predefined *default* tag can either be set by the user with adding the +default+ [[Tags|tag]] to a [[Views|view]] by view per choice or otherwise it will be set to the first defined view. This 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 shows henceforth additionally to the clients that should appear there every client that has no tags at all.\015\012* *default*\015\012\015\012+Properties+:\015\012These tags set a lot more then just control special property of the placement - they also have properties than can define client on startup like floating, fullscreen 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)}} sticky mode.\015\012* *float*\015\012* *full*\015\012* *stick*\015\012\015\012+[[Gravity|Gravities]]+:\015\012\015\012* *top*\015\012* *bottom*\015\012* *left*\015\012* *right*\015\012* *center* \015\012\015\012{{tocnavi(subtle,Grabs,Quickstart,Gravity)}}