From 7c926824d16c553118d1a6567e2f7ac102543a4b Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Sat, 8 Feb 2025 00:17:45 +0530 Subject: [PATCH] feat: Open Wezterm.app with skhd --- darwin/shiro/configuration.nix | 7 +++++++ darwin/shiro/services/skhd.nix | 2 +- darwin/shiro/services/yabai.nix | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/darwin/shiro/configuration.nix b/darwin/shiro/configuration.nix index d94c7e12..953eb024 100644 --- a/darwin/shiro/configuration.nix +++ b/darwin/shiro/configuration.nix @@ -35,6 +35,13 @@ protocol = "ssh-ng"; supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"]; } + # { + # hostName = "shiro"; + # sshUser = "remotebuilder"; + # system = "aarch64-darwin"; + # protocol = "ssh-ng"; + # supportedFeatures = ["benchmark" "big-parallel" "kvm"]; + # } ]; distributedBuilds = true; }; diff --git a/darwin/shiro/services/skhd.nix b/darwin/shiro/services/skhd.nix index 33848429..54ffc690 100644 --- a/darwin/shiro/services/skhd.nix +++ b/darwin/shiro/services/skhd.nix @@ -4,7 +4,7 @@ enable = true; skhdConfig = '' # alt - return : ${pkgs.lib.getExe pkgs.kitty} --single-instance --directory ~ - alt - return : ${pkgs.lib.getExe pkgs.wezterm} + alt - return : open ${pkgs.wezterm}/Applications/Wezterm.app shift + alt - return: pkill afplay # close focused window diff --git a/darwin/shiro/services/yabai.nix b/darwin/shiro/services/yabai.nix index 7e2e9bc9..9b89cf02 100644 --- a/darwin/shiro/services/yabai.nix +++ b/darwin/shiro/services/yabai.nix @@ -37,7 +37,6 @@ yabai -m rule --add app='System Preferences' manage=off yabai -m rule --add app="choose" manage=off yabai -m rule --add app="barrier" manage=off - yabai -m rule --add app="steam" manage=off ''; }; };