feat: aerospace, wezterm config

utm for vm
This commit is contained in:
Poby 2026-03-20 22:58:30 +09:00
parent 5cf816da96
commit 8014e2cc45
No known key found for this signature in database
4 changed files with 66 additions and 4 deletions

View file

@ -88,7 +88,7 @@
]; ];
alt-tab = "workspace-back-and-forth"; 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"; alt-shift-semicolon = "mode service";
}; };
@ -141,6 +141,51 @@
"8" = "main"; "8" = "main";
"9" = "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"];
}
];
}; };
}; };
} }

View file

@ -4,12 +4,19 @@
enableDefaultConfig = false; enableDefaultConfig = false;
matchBlocks = { matchBlocks = {
"*" = {}; "*" = {};
"github.com" = { "Github" = {
host = "github.com"; hostname = "github.com";
user = "git"; user = "git";
identitiesOnly = true; identitiesOnly = true;
identityFile = [config.sops.secrets."github_ssh_key".path]; 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];
};
}; };
}; };
} }

View file

@ -14,7 +14,7 @@ config = {
-- Appearance -- Appearance
color_scheme = "Tokyo Night", color_scheme = "Tokyo Night",
font = wezterm.font("D2CodingLigature Nerd Font"), font = wezterm.font("D2CodingLigature Nerd Font"),
font_size = 16, font_size = 18,
background = { background = {
{ {
source = { Color = "#282c35" }, source = { Color = "#282c35" },
@ -29,6 +29,15 @@ config = {
top = 0, top = 0,
bottom = 0, bottom = 0,
}, },
-- Keymappings
keys = {
{
key = "P",
mods = "SUPER",
action = wezterm.action.ActivateCommandPalette,
},
},
} }
return config return config

View file

@ -64,6 +64,7 @@
"kekaexternalhelper" "kekaexternalhelper"
"stats" "stats"
"iina" "iina"
"utm"
]; ];
}; };
} }