1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 11:19:47 +01:00

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> </variablelist>
''; '';
}; };
audibleBell = mkOption {
default = true;
type = types.bool;
description = "Turn on/off the terminal's bell.";
};
}; };
}); });
buildProfileSet = pcfg: buildProfileSet = pcfg:
{ {
audible-bell = pcfg.audibleBell;
visible-name = pcfg.visibleName; visible-name = pcfg.visibleName;
scrollbar-policy = if pcfg.showScrollbar then "always" else "never"; scrollbar-policy = if pcfg.showScrollbar then "always" else "never";
scrollback-lines = pcfg.scrollbackLines; scrollback-lines = pcfg.scrollbackLines;