mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
fixes to darwin alacritty
This commit is contained in:
parent
f2f0ccd63f
commit
baa20e4dbb
10
modules/darwin/alacritty.nix
Normal file
10
modules/darwin/alacritty.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ config, ... }: {
|
||||
|
||||
home-manager.users.${config.user}.programs.alacritty.settings.key_bindings =
|
||||
[{
|
||||
key = "F";
|
||||
mods = "Super";
|
||||
action = "ToggleSimpleFullscreen";
|
||||
}];
|
||||
|
||||
}
|
@ -1,7 +1,13 @@
|
||||
{ lib, ... }: {
|
||||
|
||||
imports =
|
||||
[ ./system.nix ./user.nix ./tmux.nix ./utilities.nix ./hammerspoon.nix ];
|
||||
imports = [
|
||||
./system.nix
|
||||
./user.nix
|
||||
./tmux.nix
|
||||
./utilities.nix
|
||||
./hammerspoon.nix
|
||||
./alacritty.nix
|
||||
];
|
||||
|
||||
options = with lib; {
|
||||
|
||||
|
@ -57,16 +57,16 @@
|
||||
"--init-command"
|
||||
"tmux attach-session -t noah || tmux new-session -s noah"
|
||||
];
|
||||
keybindings = [
|
||||
key_bindings = [
|
||||
{
|
||||
key = "H";
|
||||
mods = "Super|Shift";
|
||||
action = "x02p"; # Previous tmux window
|
||||
chars = "\\x02p"; # Previous tmux window
|
||||
}
|
||||
{
|
||||
key = "L";
|
||||
mods = "Super|Shift";
|
||||
action = "x02n"; # Next tmux window
|
||||
chars = "\\x02n"; # Next tmux window
|
||||
}
|
||||
];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user