Sway: Remove titlebar in tabbed mode too

Created on 22 Jul 2017  路  5Comments  路  Source: swaywm/sway

Currently titlebars are removed (if so set in the config) in floating mode only.
Would it be possible to remove them in tabbed mode too?

This was never implemented in i3 either (1 2), even though a very simple patch exists, but IMHO is extremely useful for many people when using a laptop with limited screen height. Currently I'm using Openbox, which allows it instead (it doesn't really have a tabbed mode; but I simulate it through title-less maximized windows, cycling through them via mod-tab).

enhancement

Most helpful comment

It seems this can be achieved (in any layout, not just tabbed) with

font pango:monospace 0
titlebar_border_thickness 0                                                     
titlebar_padding 0

All 5 comments

One can significantly reduce the size of the titlebar by setting the font size to zero:

font pango:DejaVu Sans Mono 0

@wdbw Interesting workaround, but I fear it conflicts with other functionality. For example the statusbar (which can be fixed by declaring a font for it under bar {}, though)

It is useful in small screens where almost every window is perferably maximized.

This worked for a brief time while the tabbed layout was being developed for sway 1.0, it'd be cool to flesh it out properly.

It seems this can be achieved (in any layout, not just tabbed) with

font pango:monospace 0
titlebar_border_thickness 0                                                     
titlebar_padding 0
Was this page helpful?
0 / 5 - 0 ratings

Related issues

DpoBoceka picture DpoBoceka  路  4Comments

ddevault picture ddevault  路  4Comments

WhyNotHugo picture WhyNotHugo  路  3Comments

cauebs picture cauebs  路  3Comments

jakubn551 picture jakubn551  路  4Comments