1

dwm starts with with the first tag in view. How can I modify dwm.c or config.h in order to start on another tag?

4
  • This makes no sense; dwm's tags are not workspaces, so where dwm "starts" is irrelevant. If you do want to mimic workspace behaviour, look at the pertag patch.
    – jasonwryan
    Nov 1, 2016 at 18:09
  • I had feared this would just descend into an argument about terminology. I assign my web browser tag 1, and I don't want to change that because I've gotten too used to my keyboard commands. I want to continue to start the browser in my .xinitrc, I just don't want to see it when I first start dwm. Ideally I'd like to load with an initial view of a different tag (or tags), but for the browser to be on the same tag it always has been.
    – Allan
    Nov 1, 2016 at 21:33
  • Try dwm.suckless.org/patches/emptyview
    – jasonwryan
    Nov 1, 2016 at 21:37
  • This works well enough for what I'm trying to do - cheers.
    – Allan
    Nov 2, 2016 at 16:05

1 Answer 1

0

I know this is late to the party, but another option would be to add an xdotool command to your startup.

xdotool key Shift+Alt+2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .