mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
feat: aerospace, wezterm config
utm for vm
This commit is contained in:
parent
5cf816da96
commit
8014e2cc45
4 changed files with 66 additions and 4 deletions
|
|
@ -88,7 +88,7 @@
|
|||
];
|
||||
|
||||
alt-tab = "workspace-back-and-forth";
|
||||
alt-shift-tab = "move-workspace-to-monitor --wrap-around next";
|
||||
alt-shift-tab = "move-node-to-monitor --wrap-around next";
|
||||
|
||||
alt-shift-semicolon = "mode service";
|
||||
};
|
||||
|
|
@ -141,6 +141,51 @@
|
|||
"8" = "main";
|
||||
"9" = "main";
|
||||
};
|
||||
|
||||
on-window-detected = [
|
||||
{
|
||||
"if" = {
|
||||
app-id = "com.apple.finder";
|
||||
};
|
||||
check-further-callbacks = true;
|
||||
run = ["layout floating"];
|
||||
}
|
||||
{
|
||||
"if" = {
|
||||
app-id = "com.apple.Notes";
|
||||
};
|
||||
check-further-callbacks = true;
|
||||
run = ["layout floating"];
|
||||
}
|
||||
{
|
||||
"if" = {
|
||||
app-id = "com.daymore.Across";
|
||||
};
|
||||
check-further-callbacks = true;
|
||||
run = ["layout floating"];
|
||||
}
|
||||
{
|
||||
"if" = {
|
||||
app-id = "com.bitwarden.desktop";
|
||||
};
|
||||
check-further-callbacks = true;
|
||||
run = ["layout floating"];
|
||||
}
|
||||
{
|
||||
"if" = {
|
||||
app-id = "org.hammerspoon.Hammerspoon";
|
||||
};
|
||||
check-further-callbacks = true;
|
||||
run = ["layout floating"];
|
||||
}
|
||||
{
|
||||
"if" = {
|
||||
app-id = "com.utmapp.UTM";
|
||||
};
|
||||
check-further-callbacks = true;
|
||||
run = ["layout floating"];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
11
home/ssh.nix
11
home/ssh.nix
|
|
@ -4,12 +4,19 @@
|
|||
enableDefaultConfig = false;
|
||||
matchBlocks = {
|
||||
"*" = {};
|
||||
"github.com" = {
|
||||
host = "github.com";
|
||||
"Github" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identitiesOnly = true;
|
||||
identityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
};
|
||||
"Valkyrie-Ubuntu_Server" = {
|
||||
hostname = "192.168.64.2";
|
||||
user = "poby";
|
||||
port = 22;
|
||||
identitiesOnly = true;
|
||||
identityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ config = {
|
|||
-- Appearance
|
||||
color_scheme = "Tokyo Night",
|
||||
font = wezterm.font("D2CodingLigature Nerd Font"),
|
||||
font_size = 16,
|
||||
font_size = 18,
|
||||
background = {
|
||||
{
|
||||
source = { Color = "#282c35" },
|
||||
|
|
@ -29,6 +29,15 @@ config = {
|
|||
top = 0,
|
||||
bottom = 0,
|
||||
},
|
||||
|
||||
-- Keymappings
|
||||
keys = {
|
||||
{
|
||||
key = "P",
|
||||
mods = "SUPER",
|
||||
action = wezterm.action.ActivateCommandPalette,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
return config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue