FAQ#2
How do I move a program to another view?
Category: | Tagging | Difficulty: | ![]() |
Assignee: | Christoph Kappel | Due date: | |
Related issue: | - | Related Message: | - |
Related version: | - | Views: | 5951 |
Valid: | Valid |
Answer
Placement in subtle is strict and completely done via tagging. There are many ways to change tags per runtime, common is to use either subtler or subtlext.
subtler¶
subtler can be used on the commandline:
Numbers: on /off1 subtler -ta tag #< Add new tag 'tag'
2 subtler -cT client tag #< Tag client 'client' with tag 'tag'
3 subtler -vT view tag #< Tag view 'view' with tag 'tag'
subtlext¶
subtlext requires basic ruby knowledge:
Numbers: on /off1 require "subtle/subtlext"
2
3 tag = Subtlext::Tag.new("tag").save #< Add new tag 'tag'
4 Subtlext::Client["client"] + "tag" #< Tag client 'client' with tag 'tag'
5 Subtlext::View["view"] + "tag" #< Tag view 'view' with tag 'tag'
Snippets¶
The snippets wiki page includes examples how to move to another view.
Contrib¶
Vitag¶
subtle-contrib contains vitag a script to change the tags of windows and views with an editor.
Launcher¶
The launcher uses quite the opposite way, instead of moving a window to a certain screen it just provides a way to launch a window directly on the right view with the correct tags.
Stick¶
Most of the time, setting the window to stick does the trick too. Stick just displays the window on all views until the mode is disabled again. This can be done with grabs (default keys: W-s) or with subtler. (click on the window: subtler -cXS
)
Also available in: PDF