conformal / spectrwm

A small dynamic tiling window manager for X11.
ISC License
1.33k stars 97 forks source link

open window on certain workspace #70

Closed abelbabel closed 9 years ago

abelbabel commented 10 years ago

Hi,

is it possible to open a window (let's say xterm) on a certain workspace?

If this is not possible at the moment, I think this might be a nice feature that spectrwm should offer.

Regards, abelbabel

abelbabel commented 10 years ago

Maybe it is possible to use an EWMH-tool for this, wmctrl for instance?!

LordReg commented 10 years ago

This is possible via the WS[n] quirk in spectrwm.conf.

For example, to always open xterm on workspace 5: quirk[XTerm] = WS[5]

abelbabel commented 10 years ago

OK. I was a little vague. Let's say you want 6 xterms being started automatically when wm starts: beginning with the first workspace on each workspace two xterms ... With your solution any xterm is started on workspace 5, right?

LordReg commented 10 years ago

For that you would use 'autorun', e.g. for 6 xterms, two on each of the first three workspaces: autorun = ws[1]:xterm autorun = ws[1]:xterm autorun = ws[2]:xterm autorun = ws[2]:xterm autorun = ws[3]:xterm autorun = ws[3]:xterm

abelbabel commented 10 years ago

Thank you. I will try that ...