Question

I have the following rule in my dwm config file:

{ "Quodlibet",       NULL,     NULL,  1 << 4,    False,       -1 },

If instructs dwm to always launch an app titled Quodlibet on the fifth tag, a tag being the equivalent of a virtual desktop.

What if I wanted to have this app launched on a secondary screen?

Était-ce utile?

La solution

The last element of the array determines which screen is used. Now, number the windows such the the primary monitor (the one sitting on the left) is 0. In effect, the line above would then be:

{ "Quodlibet",       NULL,     NULL,  1 << 4,    False,       1 },
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top