Skip to content

Commit

Permalink
gnome-terminal: Add audibleBell option (nix-community#1671)
Browse files Browse the repository at this point in the history
Turn on/off the terminal's bell
  • Loading branch information
sestrella authored and cab404 committed Apr 23, 2021
1 parent d3c3a98 commit 2a85032
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/programs/gnome-terminal.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a85032

Please sign in to comment.