TrilbyWhite / alopex

A tabbed tiling window manager, with fur.
36 stars 4 forks source link

[Idea] Float layer #4

Closed UnderCooled closed 11 years ago

UnderCooled commented 11 years ago

Ttwm layouts looks good when there is no floating windows. Is it possible add a float layer like below?

2013-03-15-114619_899x632_scrot

HalosGhost commented 11 years ago

The way I imagine this working is something similar to how i3 handles its floating windows, yes?

UnderCooled commented 11 years ago

Sorry my English is not very good.

I never use i3 before, I just check i3 manual about floating window, i3 force floating window ontop of tiling windows, I think we should seperate them to a layer, most of time you just need go to that layer do something(maybe talking to friends with pidgin or check your xpad notes then you go back to tiling layer).

For example, when you need to send a screenshot for your friend using pidgin screenshot plugin, you can send this pidgin session window into specify tag screen, then you can screenshot your awesome tiling windows to your friend.

This draft is only about that float layer, not gotta changing ttwm nice tiling machanism.

HalosGhost commented 11 years ago

Ahh, I see. So your vision is to have something similar to the widget layer on Mac OS X. Interesting.

TrilbyWhite commented 11 years ago

I agree this is interesting, but it really outside the goals and scope of ttwm. TTWM is and always will be a minimalist tiling and non-reparenting window manager.

There is a floating option - the default keybindings use MOD1+MOD2+f (or Super+Alt+f) to toggle the floating flag of a window. The floating layer remains always above the tiled windows.

The title bar for a window will definitely never happen. Even more basic than the difference between tiling wms and floating wms is the difference between reparenting and nonreparenting wms. Only reparenting wms can draw title bars and window buttons. TTWM will defintely never become a reparenting wm.

There is a bit of a correlation such that tiling wms tend to be non-reparenting and stacking/floating wms tend to be reparenting, but there are at least a few exceptions (tinywm is a stacking non-reparenting wm and i3 is a tiling reparenting wm). I'm ok with trying to incorporate some useful parts of stacking/floating designs - but not reparenting.

TrilbyWhite commented 11 years ago

Also the stalonetray idea should work as things already are. Just have your statusline input leave the right number of spaces in the status string to leave space for stalonetray, or a conky window, or tint2, or any other such tool.

UnderCooled commented 11 years ago

There is a floating option - the default keybindings use MOD1+MOD2+f (or Super+Alt+f) to toggle the floating flag of a window. The floating layer remains always above the tiled windows.

I know this, what if we can toggle all floating windows display or not, not just toggle them floating on top or goback to tiling?

The title bar for a window will definitely never happen. Even more basic than the difference between tiling wms and floating wms is the difference between reparenting and nonreparenting wms. Only reparenting wms can draw title bars and window buttons. TTWM will defintely never become a reparenting wm.

I thought title bar with only title is possible, I didn't know there is a big difference. I think shade/unshade floating window is very cool, I cannot imaging how to using them without title bar.

Also the stalonetray idea should work as things already are. Just have your statusline input leave the right number of spaces in the status string to leave space for stalonetray, or a conky window, or tint2, or any other such tool.

I will try this later, cool.