fixes to darwin alacritty

This commit is contained in:
Noah Masur 2022-06-19 08:38:44 -04:00
parent f2f0ccd63f
commit baa20e4dbb
3 changed files with 21 additions and 5 deletions

View File

@ -0,0 +1,10 @@
{ config, ... }: {
home-manager.users.${config.user}.programs.alacritty.settings.key_bindings =
[{
key = "F";
mods = "Super";
action = "ToggleSimpleFullscreen";
}];
}

View File

@ -1,7 +1,13 @@
{ lib, ... }: { { lib, ... }: {
imports = imports = [
[ ./system.nix ./user.nix ./tmux.nix ./utilities.nix ./hammerspoon.nix ]; ./system.nix
./user.nix
./tmux.nix
./utilities.nix
./hammerspoon.nix
./alacritty.nix
];
options = with lib; { options = with lib; {

View File

@ -57,16 +57,16 @@
"--init-command" "--init-command"
"tmux attach-session -t noah || tmux new-session -s noah" "tmux attach-session -t noah || tmux new-session -s noah"
]; ];
keybindings = [ key_bindings = [
{ {
key = "H"; key = "H";
mods = "Super|Shift"; mods = "Super|Shift";
action = "x02p"; # Previous tmux window chars = "\\x02p"; # Previous tmux window
} }
{ {
key = "L"; key = "L";
mods = "Super|Shift"; mods = "Super|Shift";
action = "x02n"; # Next tmux window chars = "\\x02n"; # Next tmux window
} }
]; ];
}; };