view "view", "tag"
view "view" do match "xterm|[u]?rxvt" gravity :center end
Following modes exist:
view "terms" do set :dynamic end
[[subtle]] *doesn't* change the numbering of the [[Views|views]] yet, that means when there are three [[Views|views]] and the second is [[Views#Dynamic|dynamic]] the third is *still* the third.
view "terms" do icon "/usr/share/icons/icon.xbm" set :icon_only end
Following options exist:
Set various [[Views#Modes|modes] for views. Multiple modes can be set separated by comma.
view "modes" do match "xterm" set :dynamic, :icons_only end
view "terms" do match "urxvt" icon "/usr/share/icons/icon.xbm" end
You can also pass a "Subtlext::Icon":http://rdoc.subforge.org/subtle/classes/Subtlext/Icon.html object to *icon* _instead_ of a path.
view "terms" do match "urxvt" end