mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 02:39:48 +01:00
gnome-terminal: add cursorBlinkMode
option
This commit is contained in:
parent
2102b4e7b3
commit
9f223e98b7
1 changed files with 7 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue