« Previous - Version 16/41 (diff) - Next » - Current version
Christoph Kappel, 2010-11-30 22:25


Collection of contributed scripts, some are more useful than other.

These scripts may work, if you encounter any problems please ask in the usual places. You can just clone the repo:

hg clone http://hg.subforge.org/subtle-contrib


Graviton is a helper to create custom gravities visually.



Start Graviton on the commandline via ruby graviton.rb just draw rectangles on the grid like e.g. via the rectangular masking tool from GIMP. Every new rectangle will have a different color to make it easier to distingish between each. To resize a rectangle press the left mouse button on one of the corners and move the mouse. The print button will show the created new gravities with their color name on the commandline.


Following colors are used in Graviton in given order:

cyan green olive teal blue silver lime #80"> navy purple magenta maroon red yellow gray


Launcher that combines the tagging of subtle with a browser search bar.



  • Search for stuff via Google (Chrome/Opera/Firefox)
  • Point your browser directly to an uri
  • Launch programs in path
  • Create tags on the fly with #tag
  • Create views on the fly with @view
  • Tab completion for programs, views and tags


Either call it like ruby launcher.rb from commandline or via grab from subtle.

Numbers: on /off 1 begin<
 2   require "#{ENV["HOME"]}/path/to/launcher.rb" 
 3 rescue LoadError => error
 4   puts error
 5 end<
 7 grab "W-x" do
 8   Launcher::Launcher.instance.run
 9 end


Insert Description
subtle wm Change to browser view and search for subtle wm via Google
urxvt @editor Open urxvt on view @editor with dummy tag
urxvt @editor #work Open urxvt on view @editor with tag work
urxvt #work Open urxvt and tag with tag work
urx<hit tab> Open urxvt (tab completion)


Helper to create or change subtle color themes.



Simple VFS implementation with the help of Fuse.


Helper that provides a way to change the tags of all views and windows at once. It basically just opens your favorite editor via $EDITOR and prints every view and running client followed by it's tags. When the tags are changed and the file saved it will send the changes to subtle in one single event per view/client and non-existing tags will be created accordingly.


# Views
@terms #default #terms
@www #browser
@gimp #gimp_image #gimp_toolbox #gimp_dock
@dev #editor

# Clients
xterm #terms