gnome-terminal: Add audibleBell option (#1671)

Turn on/off the terminal's bell
This commit is contained in:
Sebastián Estrella 2020-12-27 10:09:59 -05:00 committed by GitHub
parent bcbf09a202
commit cd86c2638b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,11 +228,18 @@ let
</variablelist>
'';
};
audibleBell = mkOption {
default = true;
type = types.bool;
description = "Turn on/off the terminal's bell.";
};
};
});
buildProfileSet = pcfg:
{
audible-bell = pcfg.audibleBell;
visible-name = pcfg.visibleName;
scrollbar-policy = if pcfg.showScrollbar then "always" else "never";
scrollback-lines = pcfg.scrollbackLines;