HarveyHunt / howm

A lightweight, X11 tiling window manager that behaves like vim
GNU General Public License v2.0
649 stars 24 forks source link

Startup Applications #37

Closed HarveyHunt closed 9 years ago

HarveyHunt commented 9 years ago

I think having the ability to autostart applications and set properties about them (such as which workspace they are one, are they floating etc...) would be rather useful and simple to implement.

KoFish commented 9 years ago

Why would you want your window manager to deal with such a thing? That seems like a very ugly solution!

HarveyHunt commented 9 years ago

@KoFish I can't think of any other way of spawning an application onto the correct workspace when I start X. Placing things in my .xinitrc means the applications will start on the current workspace.

KoFish commented 9 years ago

Well, the most sensible solution, according to me, is the one employed by dwm. You have the WM move windows matching certain classes or names to certain workspaces. That or you embed some form of fifo-command socket where you can send commands to move certain windows. How you will reliably map starting a process to a certain window I do not know... but that is a problem you will have either way and I really don't think you should put that logic into a window manager.

HarveyHunt commented 9 years ago

@KoFish I have implemented that but what happens if I only want to match an application once (on startup). I think you're right though, this is something that can be handled by the user.

Thanks for the input. :-)