sway: [regression] The titlebar can't be hidden anymore since sway 1.8

  • Sway Version: 1.8

The following configuration mentioned in https://github.com/swaywm/sway/issues/6946, https://github.com/swaywm/sway/issues/5050 and https://github.com/swaywm/sway/issues/1286:

font pango:monospace 0
titlebar_border_thickness 0
titlebar_padding 0

Worked just fine in Sway 1.7 but doesn’t work anymore in 1.8 due to https://github.com/swaywm/sway/pull/7092

As a temporary workaround font pango:monospace 1 can be used instead of font pango:monospace 0 but it’s not the best solution.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 14
  • Comments: 15 (4 by maintainers)

Most upvoted comments

That may be the case but when a hack is used by most people* i feel like it becomes a feature of its own. I’ve personally never seen any sway config or screenshot where the user kept the titlebar.

*: arguably my sample set might be biased, but still.

Same here. My current workaround is font pango: monospace 0.001

I believe the official way of hiding titlebars is setting default_border to pixel [<n>] or none.

This does not have the desired effect of also removing the bars in tabbed mode.

yes just broke my settup. I dont want a bar. why would I go minimalizt/maximize my screen usage and then add a bar I dont want.

I remember when I first started sway loosing a lot of time trying to find the option to disable titlebars. It seemed obvious to me that such an option would exist, coming from other wm where I didn’t have that problem. There will also inevitably be lost time in supporting people like me that try to do that and giving them hacks. There are already quite a few PR and issues related to this and if you look at i3, there’s even more. I know sway isn’t looking to add more options, but it seems to me that this would be worth the time.

If not, then I’m sadly in favor of reinstigating a 0 font size. Better than nothing.

Reminder that a new Sway release is upcoming and this feature will go away unless someone steps up.