summaryrefslogtreecommitdiff
path: root/core/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/config.zig')
-rw-r--r--core/config.zig8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/config.zig b/core/config.zig
index f9f906a9..8bcf649f 100644
--- a/core/config.zig
+++ b/core/config.zig
@@ -116,6 +116,7 @@ pub const leader_path = paths: {
.Build = "hb",
.Messages = "hm",
.Keys = "hk",
+ .Message = "e",
.Newcol = "cn",
.Delcol = "cd",
.Joincol = "cj",
@@ -637,8 +638,9 @@ pub const Settings = struct {
/// A jump of the cursor leaves a short trail that fades: a setting
/// alone, each frontend draws it (jump_trail.zig).
jump_trail: bool = false,
- /// How long a message stays after the key or click that dismisses it.
- message_linger_ms: u16 = 800,
+ /// How long an echo or a notice stays bright before it dims (a warning
+ /// twice as long): Messages.Said.faded.
+ message_linger_ms: u16 = 4000,
/// Where Dump writes and a relative Restore looks; empty is the default
/// ($XDG_DATA_HOME/pardes, else ~/.local/share/pardes).
dump_dir: Text(limits.host_path_cap) = .{},
@@ -810,7 +812,7 @@ pub const Settings = struct {
.{ .word = "InactiveDim", .action = .inactive_dim, .doc = "Fade the unfocused panes' text by a percentage, 0 through 100, 0 off." },
.{ .word = "Pet", .action = .{ .choice = .pet }, .doc = "The window's companion in the workspace tag's blank space: off, cat or frog." },
.{ .word = "Jumps", .action = .{ .choice = .jumps }, .doc = "A jump steps its pane or that pane's reader (walk), or opens a pane for each file (new-pane)." },
- .{ .word = "MessageLinger", .action = .message_linger, .doc = "How long, in milliseconds, a message stays after what dismisses it." },
+ .{ .word = "MessageLinger", .action = .message_linger, .doc = "How long, in milliseconds, an echo or a notice stays bright before it dims; a warning twice as long." },
.{ .word = "DumpDir", .action = .dump_dir, .doc = "The directory of the state file, where Dump writes and Recent is kept. A relative Restore name is looked for there too; bare, the default." },
.{ .word = "Theme", .action = .theme, .doc = "Switch to the theme named: `Theme atelier`. Themes lists them, NextColor steps through them." },
.{ .word = "Shell", .action = .shell, .doc = "The shell new terminals run: `Shell /bin/zsh`; bare, $SHELL if it is executable, else /bin/sh." },