-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwezterm.bar.lua
More file actions
38 lines (36 loc) · 893 Bytes
/
wezterm.bar.lua
File metadata and controls
38 lines (36 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
local _bar = {}
function _bar:init(wezterm, c)
wezterm.plugin.require("https://github.com/nekowinston/wezterm-bar").apply_to_config(c, {
position = "bottom",
max_width = 32,
dividers = "slant_right", -- or "slant_left", "arrows", "rounded", false
indicator = {
leader = {
enabled = true,
off = " ",
on = " ",
},
mode = {
enabled = true,
names = {
resize_mode = "RESIZE",
copy_mode = "VISUAL",
search_mode = "SEARCH",
},
},
},
tabs = {
numerals = "arabic", -- or "roman"
pane_count = "superscript", -- or "subscript", false
brackets = {
active = { "", ":" },
inactive = { "", ":" },
},
},
clock = { -- note that this overrides the whole set_right_status
enabled = true,
format = "%H:%M", -- use https://wezfurlong.org/wezterm/config/lua/wezterm.time/Time/format.html
},
})
end
return _bar