diff --git a/home/aerospace.nix b/home/aerospace.nix index 155858d..3e84396 100644 --- a/home/aerospace.nix +++ b/home/aerospace.nix @@ -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"]; + } + ]; }; }; } diff --git a/home/ssh.nix b/home/ssh.nix index 378be6e..f7937e3 100644 --- a/home/ssh.nix +++ b/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]; + }; }; }; } diff --git a/home/wezterm.lua b/home/wezterm.lua index fb9ec1e..b7469c7 100644 --- a/home/wezterm.lua +++ b/home/wezterm.lua @@ -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 diff --git a/hosts/apps.nix b/hosts/apps.nix index 8942643..27c0277 100644 --- a/hosts/apps.nix +++ b/hosts/apps.nix @@ -64,6 +64,7 @@ "kekaexternalhelper" "stats" "iina" + "utm" ]; }; }