← Back to context

Comment by em-bee

1 month ago

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)