diff options
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/config.zig b/src/config.zig index 3c8e25de..e2d81c6d 100644 --- a/src/config.zig +++ b/src/config.zig @@ -167,9 +167,6 @@ pub const leader_path = paths: { if (builtins.capabilities.window_blur) table.set(.WindowBlur, null); if (builtins.capabilities.ligatures) table.set(.Ligatures, null); if (builtins.capabilities.lift) table.set(.CursorBlink, null); - if (builtins.capabilities.lift) table.set(.SelectionGlow, null); - if (builtins.capabilities.lift) table.set(.HoverGlow, null); - if (builtins.capabilities.lift) table.set(.Occlusion, null); if (builtins.capabilities.lift) table.set(.Parallax, null); table.set(.ProgramEsc, null); if (builtins.capabilities.lift) table.set(.Lift, null); @@ -750,15 +747,6 @@ pub const Runtime = struct { /// solid while typing and for half a second after, eased at each edge, /// solid again after ten idle seconds. cursor_blink: bool = true, - /// G9: a soft halo round the selection in the body, fading in over - /// 100 ms, a pixel shell's (docs/effects.md). - selection_glow: bool = false, - /// G11: a soft glow under the word a look-hover would open, fading in - /// over 80 ms, a pixel shell's. - hover_glow: bool = false, - /// G12: pane bodies darken faintly toward their edges (ambient - /// occlusion, at most 2%), a pixel shell's. - occlusion: bool = false, /// G13: a theme's page pattern under the bodies (lapis's dots) moves /// with the text at a quarter of its speed, a pixel shell's. parallax: bool = false, @@ -918,7 +906,7 @@ pub const Runtime = struct { /// The message timings a setting word sets, each in milliseconds. pub const MessageTime = enum { linger, fall, dissolve }; - pub const Toggle = enum { colors, wrap, tree_context_tag_style, tag_bottom, debug, focus_tint, syntax_bold, pager_color, verbose, message_animation, ligatures, cursor_blink, selection_glow, hover_glow, occlusion, parallax, program_esc }; + pub const Toggle = enum { colors, wrap, tree_context_tag_style, tag_bottom, debug, focus_tint, syntax_bold, pager_color, verbose, message_animation, ligatures, cursor_blink, parallax, program_esc }; pub const Action = union(enum) { toggle: Toggle, @@ -970,7 +958,7 @@ pub const Runtime = struct { .lift, .grip_width => .lift, .toggle => |field| switch (field) { .ligatures => .ligatures, - .cursor_blink, .selection_glow, .hover_glow, .occlusion, .parallax => .lift, + .cursor_blink, .parallax => .lift, else => null, }, else => null, @@ -990,9 +978,6 @@ pub const Runtime = struct { .{ .word = "MessageAnimation", .action = .{ .toggle = .message_animation }, .doc = "A message falls into its row and dissolves out of it, on or off." }, .{ .word = "Ligatures", .action = .{ .toggle = .ligatures }, .doc = "A font's programming ligatures draw across their cells, on or off." }, .{ .word = "CursorBlink", .action = .{ .toggle = .cursor_blink }, .doc = "The cursor blinks, solid while typing, on or off." }, - .{ .word = "SelectionGlow", .action = .{ .toggle = .selection_glow }, .doc = "A soft halo of the selection's colour round it in the body, on or off." }, - .{ .word = "HoverGlow", .action = .{ .toggle = .hover_glow }, .doc = "A soft underline of light under the word a look-hover would open, on or off." }, - .{ .word = "Occlusion", .action = .{ .toggle = .occlusion }, .doc = "Pane bodies darken faintly toward their edges, on or off." }, .{ .word = "Parallax", .action = .{ .toggle = .parallax }, .doc = "A theme's page pattern moves with the text at a quarter of its speed, on or off." }, .{ .word = "ProgramEsc", .action = .{ .toggle = .program_esc }, .doc = "In a raw terminal, Esc goes to the program and Shift-Esc backs out, on; off (the default) swaps them." }, .{ .word = "Lift", .action = .lift, .doc = "How the focused pane stands off the page: off, shadow, rim or auto." }, |
