1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 09:58:32 +02: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;