Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Title bars?

Open schance995 opened this issue 2 years ago • 8 comments

Right now I use Waybar with the window title module, but that is not as flexible as title bars. Far from being useless eye candy, titlebars let the user manage windows with only the mouse, which is important for accessibility. It's a lot to ask for but no rush:

  • show window title
  • show window status: right now there's no visual indicator for fullscreen 1 windows, and the tabbed/grouped indicator border is narrow and hard to see. It seems natural to make the indicator borders bigger to make them title bars, since they're already rendered above the window border.
  • left click/scroll to switch tabbed window
  • left click/drag title bar to move window
  • bind mouse buttons (eg right click title bar to toggle floating, middle click to close)
  • toggle title bars per window/globally

schance995 avatar Nov 04 '22 04:11 schance995

I think some things you said can be done with extensive eww configs + hyprctl scripting I personally is agaiest adding bars to hyprland since it probably should belong in a separate project(hyprbar)

Although I support some basic function of a title bar(such as title for groups) could be ahded

JustSimplyKyle avatar Nov 04 '22 10:11 JustSimplyKyle

this is not KDE and we are not focused on accesibility, but rather productiveness.

They are very much useless eye candy. All they do is give you another way to do what you could've already done with binds.

I am not saying they will never land, but I doubt for the forseeable future. There is not enough people wanting them (1 is not enough) and they're virtually useless.

vaxerski avatar Nov 04 '22 10:11 vaxerski

Please, never consider title bars. IMHO, it is the worst thing about other DEs/WMs. I always have to spend a lot of free time trying to get rid of those for everything else.

FaceHiddenInsideTheDark avatar Nov 05 '22 14:11 FaceHiddenInsideTheDark

Title bars are useless.

Love the differentiation between user centric and user friendly :D

amilonop avatar Nov 08 '22 11:11 amilonop

Title bars are really useful when you have a touchscreen device like Lenovo Yoga

n0nvme avatar Nov 22 '22 22:11 n0nvme

Noise, noise noise.

Titlebars will eventually make it to hyprland, in the form of disabled by default, enabled if someone wants it. Not soon though, this is really low on a priority list for a tiling compositor.

vaxerski avatar Nov 22 '22 22:11 vaxerski

Title bars will be definitely attractive for former i3 users. Title bars should be available for tabbed/stacked modes and floating windows. And of course, these should be optional.

mustardfrog avatar Jan 07 '23 05:01 mustardfrog

I think some things you said can be done with extensive eww configs + hyprctl scripting I personally is agaiest adding bars to hyprland since it probably should belong in a separate project(hyprbar)

Although I support some basic function of a title bar(such as title for groups) could be ahded

I use tab groups on my secondary monitor and it would be nice to have an easier way to see what windows are in the tab group.

cmiles74 avatar Jan 16 '23 20:01 cmiles74

Now that we have a plugin system, I am probably going to implement title bars as a plugin.

I just need to get decorations to allow setting reserved space on a window.

vaxerski avatar Feb 27 '23 23:02 vaxerski

Added very simple title bars in the hyprland-plugins repo.

They will be improved a bit, don't worry. Any further requests though please report to the issue tracker there.

vaxerski avatar Feb 28 '23 20:02 vaxerski

Oh, they aren't useless for screen reader users.

pshirshov avatar Sep 14 '23 20:09 pshirshov

(I know this issue is closed, but my two cents:)

I'm currently considering migrating from i3/sway to hyprland and one particularly useful feature i3 and sway have is the ability to stack windows.

When windows are stacked, the title bars let you know what other windows are there, as well as what's the currently focused one.

This can be seen, for example, on the right side of the image below:

Stacked Windows on i3

I usually do this type of stacking to have a main window where I work, and other stacked windows I take a look for reference.

So, if Hyprland supports stacked windows (which it doesn't seem to, but I haven't checked thoroughly yet), that'd be really helpful and not useless at all.

renatolfc avatar Jan 31 '24 19:01 renatolfc

Hyprland supports groups, which are rendered like this (ignore my ugly theming though). image

If you want more of the i3/sway functionality, take a look at the hy3 plugin.

fufexan avatar Jan 31 '24 19:01 fufexan

Sweet! That seems to be what I’m looking for.

thanks, @fufexan!

renatolfc avatar Jan 31 '24 22:01 renatolfc