Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
52d89f41eb |
2 changed files with 52 additions and 0 deletions
51
home/wezterm/default.nix
Normal file
51
home/wezterm/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{...}: {
|
||||
programs = {
|
||||
wezterm = {
|
||||
enable = true;
|
||||
|
||||
extraConfig =
|
||||
/*
|
||||
lua
|
||||
*/
|
||||
''
|
||||
local config = wezterm.config_builder();
|
||||
|
||||
-- default stuff
|
||||
config.disable_default_key_bindings = true;
|
||||
config.enable_wayland = false;
|
||||
|
||||
-- theme & appearance
|
||||
config.color_scheme = 'Dracula';
|
||||
config.xcursor_theme = 'Dracula-cursors';
|
||||
|
||||
config.hide_tab_bar_if_only_one_tab = true;
|
||||
config.window_background_opacity = 0.8;
|
||||
config.window_padding = {
|
||||
top = '10px',
|
||||
right = '2px',
|
||||
bottom = '10px',
|
||||
left = 0,
|
||||
};
|
||||
|
||||
-- disable ligatures
|
||||
config.harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' };
|
||||
config.font = wezterm.font('JetBrains Mono');
|
||||
|
||||
-- scrollback
|
||||
config.enable_scroll_bar = true;
|
||||
config.scrollback_lines = 3500;
|
||||
|
||||
config.keys = {
|
||||
{
|
||||
-- Spawn a window with from the cwd
|
||||
key = 'Enter',
|
||||
mods = 'SHIFT|CTRL',
|
||||
action = wezterm.action.SpawnWindow,
|
||||
},
|
||||
};
|
||||
|
||||
return config;
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
|
@ -17,6 +17,7 @@ in {
|
|||
../../home/foot.nix
|
||||
../../home/mpv
|
||||
../../home/obs.nix
|
||||
../../home/wezterm
|
||||
../../home/wofi
|
||||
|
||||
({config, ...}: let
|
||||
|
|
Loading…
Reference in a new issue