Skip to content

Instantly share code, notes, and snippets.

@robertbasic
Created January 14, 2012 17:45
Show Gist options
  • Select an option

  • Save robertbasic/1612237 to your computer and use it in GitHub Desktop.

Select an option

Save robertbasic/1612237 to your computer and use it in GitHub Desktop.
(debug)
(if
(is (application_name) "Firefox")
(begin
(set_workspace 1)
(maximize)
)
)
(if
(and
(is (application_name) "Firefox")
(matches (window_name) "Grooveshark")
)
(begin
(set_workspace 3)
(maximize)
)
)
(if
(is (application_name) "Pidgin")
(begin
(set_workspace 2)
(maximize)
)
)
(if
(is (application_name) "turpial")
(begin
(set_workspace 2)
(maximize)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment