diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-02-08 17:27:34 -0600 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-02-08 23:36:34 -0600 |
commit | 4fa41719d49de6da7707304b799959fc672914b6 (patch) | |
tree | a72af555754af0103bfddd9129ec41ec798bab39 | |
parent | 4902cc4bd2ddc508d7d9d9c7d5ab434a9411232d (diff) |
fix(alacritty): allow overriding config values
-rw-r--r-- | alacritty/.config/alacritty/alacritty.toml | 23 | ||||
-rw-r--r-- | alacritty/.config/alacritty/defaults.toml | 21 |
2 files changed, 22 insertions, 22 deletions
diff --git a/alacritty/.config/alacritty/alacritty.toml b/alacritty/.config/alacritty/alacritty.toml index 815ab26..32e8de0 100644 --- a/alacritty/.config/alacritty/alacritty.toml +++ b/alacritty/.config/alacritty/alacritty.toml @@ -1,27 +1,6 @@ import = [ + "/home/tobyv/.config/alacritty/defaults.toml", "/home/tobyv/.config/alacritty/colors.toml", "/home/tobyv/.config/alacritty/local.toml", ] live_config_reload = true - -[shell] -program = "tmux" -args = ["new", "-A"] - -[window] -dynamic_padding = true -opacity = 0.95 - -[font] -size = 15 -normal = { family = "Hack Nerd Font" } - -[mouse] -hide_when_typing = true - -[keyboard] -bindings = [ - { action = "CreateNewWindow", key = "T", mods = "Control|Shift" }, - { action = "ReceiveChar", key = "F", mode = "~Search", mods = "Control|Shift" }, - { action = "ToggleFullscreen", key = "Return", mods = "Alt" }, -] diff --git a/alacritty/.config/alacritty/defaults.toml b/alacritty/.config/alacritty/defaults.toml new file mode 100644 index 0000000..0a42544 --- /dev/null +++ b/alacritty/.config/alacritty/defaults.toml @@ -0,0 +1,21 @@ +[shell] +program = "tmux" +args = ["new", "-A"] + +[window] +dynamic_padding = true +opacity = 0.95 + +[font] +size = 15 +normal = { family = "Hack Nerd Font" } + +[mouse] +hide_when_typing = true + +[keyboard] +bindings = [ + { action = "CreateNewWindow", key = "T", mods = "Control|Shift" }, + { action = "ReceiveChar", key = "F", mode = "~Search", mods = "Control|Shift" }, + { action = "ToggleFullscreen", key = "Return", mods = "Alt" }, +] |