mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 18:05:37 +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, ... }: {
|
{ 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; {
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user