Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of title bar #952

Open
donjan opened this issue Sep 23, 2024 · 1 comment
Open

Get rid of title bar #952

donjan opened this issue Sep 23, 2024 · 1 comment

Comments

@donjan
Copy link

donjan commented Sep 23, 2024

Is your feature request related to a problem? Please describe.
Since Terminator has its own little title bars per pane, the GTK window title bar is superfluous. It can be removed by undecorating the window in 'Preferences > Window borders', but that also removes the borders/shadows and makes Terminator uncomfortable to distinguish against other screen content.

Describe the solution you'd like
A checkbox 'Preferences > Window title' to remove the title bar (headerbar in modern GTK), but leave the borders intact (actually just the shadows are sufficient).
Alternatively, the existing window borders checkbox, but with an option to add back shadows.

Describe alternatives you've considered
I've tried toying around in ~/.config/gtk-3.0/gtk.css, but didn't find any .terminator-terminal-window ... that would affect the window title bar.

@donjan
Copy link
Author

donjan commented Sep 26, 2024

I've been trying a couple of things without any visible effect:

  • Modify terminatorlib/window.py::Window.set_borderless
    def set_borderless(self, value):
        """Set the state of the window border from the supplied value"""
        #self.set_decorated (not value)
        self.set_titlebar (None)
  • Add to the bottom of terminatorlib/terminator.py::Terminator.new_window a line that should set the decorations to border-only in a drawn window: window.set_decorations(Gdk.WMDecoration.BORDER)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant