mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 18:59:47 +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.";
|
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 {
|
cursorShape = mkOption {
|
||||||
default = "block";
|
default = "block";
|
||||||
type = types.enum [ "block" "ibeam" "underline" ];
|
type = types.enum [ "block" "ibeam" "underline" ];
|
||||||
|
@ -130,6 +136,7 @@ let
|
||||||
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;
|
||||||
cursor-shape = pcfg.cursorShape;
|
cursor-shape = pcfg.cursorShape;
|
||||||
|
cursor-blink-mode = pcfg.cursorBlinkMode;
|
||||||
} // (if (pcfg.font == null) then {
|
} // (if (pcfg.font == null) then {
|
||||||
use-system-font = true;
|
use-system-font = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue