mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 23:14:57 +08:00
wezterm: keybindings
also reorganize
This commit is contained in:
parent
88d94eaffe
commit
95f54c2cca
4 changed files with 21 additions and 12 deletions
|
|
@ -35,7 +35,7 @@
|
|||
self.homeModules.common
|
||||
./zsh.nix
|
||||
# ./bash.nix
|
||||
# ./kitty.nix
|
||||
./wezterm
|
||||
./himalaya.nix
|
||||
./_1password.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -67,16 +67,5 @@
|
|||
fzf.enable = true;
|
||||
jq.enable = true;
|
||||
htop.enable = true;
|
||||
wezterm = {
|
||||
enable = true;
|
||||
# https://alexplescan.com/posts/2024/08/10/wezterm/
|
||||
extraConfig = ''
|
||||
return {
|
||||
font = wezterm.font("Monaspace Argon");
|
||||
color_scheme = 'Tokyo Night';
|
||||
window_decorations = 'RESIZE';
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
7
home/wezterm/default.nix
Normal file
7
home/wezterm/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
# https://alexplescan.com/posts/2024/08/10/wezterm/
|
||||
extraConfig = builtins.readFile ./wezterm.lua;
|
||||
};
|
||||
}
|
||||
13
home/wezterm/wezterm.lua
Normal file
13
home/wezterm/wezterm.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
font = wezterm.font("Monaspace Argon");
|
||||
color_scheme = 'Tokyo Night';
|
||||
window_decorations = 'RESIZE';
|
||||
keys = {
|
||||
-- Emulate other programs (Zed, VSCode, ...)
|
||||
{
|
||||
key = 'P',
|
||||
mods = 'CMD|SHIFT',
|
||||
action = wezterm.action.ActivateCommandPalette,
|
||||
},
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue