Comment by em-bee

6 months ago

i found the titlebar: https://github.com/wezterm/wezterm/issues/6296

it's ugly as hell. but that's partly gnomes fault for not supporting server side decorations. and, at least they are already working on something nicer.

but now i have two sets of titlebar buttons. one set in the titlebar, and a somewhat nicer looking set in the tabbar. but i found a workaround: if i turn window_decorations off, then i get nothing, but i can turn it back on without restarting and then i only get the integrated buttons in the tabbar without the ugly titlebar. now i only need to find a way to script this...

in the meantime i'll just run it without a titlebar. i figured out how to maximize the terminal on startup: https://stackoverflow.com/questions/78738575/how-to-maximize... , that will do for now. i rarely need to resize or close it anyways.

more fun stuff. the terminal bell does not work under wayland. because On Wayland systems, which have no system beep function, it does not produce a sound. which is of course an entire logical solution. blame wayland instead of just playing a sound.

fortunately, wezterms scriptability allows for a workaround:

    wezterm.on('bell', function(window, pane)
        wezterm.background_child_process({
            '/usr/bin/play', '/usr/share/sounds/gnome/default/alerts/click.ogg'
        })
    end)