mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 22:57:54 +00:00
wezterm: update config
This commit is contained in:
parent
3df8b2cc1b
commit
7351df249f
@ -6,9 +6,9 @@ local wezterm = require("wezterm")
|
|||||||
local xdg_data_home = os.getenv("XDG_DATA_HOME") or "~/.local/share"
|
local xdg_data_home = os.getenv("XDG_DATA_HOME") or "~/.local/share"
|
||||||
local theme_dir = xdg_data_home .. "/base16/bark-on-a-tree"
|
local theme_dir = xdg_data_home .. "/base16/bark-on-a-tree"
|
||||||
local light_scheme, light_scheme_metadata =
|
local light_scheme, light_scheme_metadata =
|
||||||
wezterm.color.load_base16_scheme(theme_dir .. "/albino-bark-on-a-tree.yaml")
|
wezterm.color.load_base16_scheme(theme_dir .. "/albino-bark-on-a-tree.yaml")
|
||||||
local dark_theme, dark_theme_metadata =
|
local dark_theme, dark_theme_metadata =
|
||||||
wezterm.color.load_base16_scheme(theme_dir .. "/bark-on-a-tree.yaml")
|
wezterm.color.load_base16_scheme(theme_dir .. "/bark-on-a-tree.yaml")
|
||||||
|
|
||||||
local function scheme_for_appearance()
|
local function scheme_for_appearance()
|
||||||
-- We're just following the default XDG appearance spec.
|
-- We're just following the default XDG appearance spec.
|
||||||
@ -62,7 +62,7 @@ function module.apply_to_config(config)
|
|||||||
-- Disable some more annoyances.
|
-- Disable some more annoyances.
|
||||||
config.enable_tab_bar = true
|
config.enable_tab_bar = true
|
||||||
config.enable_scroll_bar = false
|
config.enable_scroll_bar = false
|
||||||
config.tab_bar_at_bottom = true
|
config.tab_bar_at_bottom = false
|
||||||
config.window_decorations = "RESIZE"
|
config.window_decorations = "RESIZE"
|
||||||
|
|
||||||
-- Configuring the appearance of the tab bar.
|
-- Configuring the appearance of the tab bar.
|
||||||
|
@ -78,6 +78,7 @@ function module.apply_to_config(config)
|
|||||||
{ key = "DownArrow", mods = keymod, action = act.ActivatePaneDirection("Down") },
|
{ key = "DownArrow", mods = keymod, action = act.ActivatePaneDirection("Down") },
|
||||||
{ key = "UpArrow", mods = keymod, action = act.ActivatePaneDirection("Up") },
|
{ key = "UpArrow", mods = keymod, action = act.ActivatePaneDirection("Up") },
|
||||||
{ key = "RightArrow", mods = keymod, action = act.ActivatePaneDirection("Right") },
|
{ key = "RightArrow", mods = keymod, action = act.ActivatePaneDirection("Right") },
|
||||||
|
{ key = "^", mods = keymod, action = act.ActivateLastTab },
|
||||||
|
|
||||||
-- More pane-related niceties.
|
-- More pane-related niceties.
|
||||||
{ key = "f", mods = "LEADER", action = act.TogglePaneZoomState },
|
{ key = "f", mods = "LEADER", action = act.TogglePaneZoomState },
|
||||||
|
Loading…
Reference in New Issue
Block a user