Skip to content

Instantly share code, notes, and snippets.

@torgeir torgeir/torg.ds
Last active Feb 17, 2019

What would you like to do?
devilspie workspace layout
Lookup geometry: /usr/bin/xwininfo
(and (is (application_name) "Firefox")
(set_workspace 1)
(geometry "1387x1138+0-32")))
(and (is (application_name) "emacs-snapshot")
(is (window_name) "*scratch* ()")
(set_workspace 2)
(and (is (application_name) "Spotify")
(set_workspace 3)))
(and (is (application_name) "Yoshimi")
(set_workspace 4)
(geometry "387x496+1533+58")))
(and (contains (application_name) "Yoshimi")
(contains (application_name) ":")
(set_workspace 4)
(geometry "782x606+1138+585")))
(and (is (application_name) "jack-rack")
(set_workspace 4)
(geometry "622x496+911+31")))
(and (is (application_name) "Patchage")
(set_workspace 4)
(geometry "911x928+0+31")))
(and (is (application_name) "JACK Audio Connection Kit [torg] Started.")
(set_workspace 4)
(geometry "466x210+0--0")))
(and (is (application_name) "Qsynth - A fluidsynth Qt GUI Interface [Qsynth1]")
(set_workspace 4)))
(and (is (application_name) "Thunderbird")
(set_workspace 5)
(and (is (application_name) "corebird")
(geometry "583x1221--26+8")))
Logical operations
Matchers-- these give you some info about the window that opens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.