1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 16:38:34 +02:00

gnome-terminal: add cursorBlinkMode option

This commit is contained in:
Piotr Bogdan 2020-04-10 14:56:47 +01:00 committed by Robert Helgesson
parent 2102b4e7b3
commit 9f223e98b7
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -81,6 +81,12 @@ let
description = "The terminal colors, null to use system default.";
};
cursorBlinkMode = mkOption {
default = "system";
type = types.enum [ "system" "on" "off" ];
description = "The cursor blink mode.";
};
cursorShape = mkOption {
default = "block";
type = types.enum [ "block" "ibeam" "underline" ];
@ -130,6 +136,7 @@ let
scrollbar-policy = if pcfg.showScrollbar then "always" else "never";
scrollback-lines = pcfg.scrollbackLines;
cursor-shape = pcfg.cursorShape;
cursor-blink-mode = pcfg.cursorBlinkMode;
} // (if (pcfg.font == null) then {
use-system-font = true;
} else {