Browse Source

feat: Integrate keymapp and remove unused packages

Zander Hawke 10 tháng trước cách đây
mục cha
commit
8a61cb647c
2 tập tin đã thay đổi với 9 bổ sung7 xóa
  1. 8 5
      home/features/desktop/aerospace.nix
  2. 1 2
      hosts/meili/software.nix

+ 8 - 5
home/features/desktop/aerospace.nix

@@ -5,7 +5,7 @@
 }:
 let
   cfg = config.programs.aerospace;
-  aerospace-focus = "${lib.getExe pkgs.aerospace-tmux-focus}";
+  aerospace-focus = "${lib.getExe pkgs.unstable.aerospace-tmux-focus}";
 in
 {
   home.packages = [ pkgs.aerospace-tmux-focus ];
@@ -79,11 +79,14 @@ in
       on-window-detected = [
         # disable on "Picture-in-Picture"
         {
+          "if".app-id = "com.brave.Browser";
+          "if".window-title-regex-substring = "Picture in Picture";
+          check-further-callbacks = false;
+          run = [ "layout floating" ];
+        }
+        {
+          "if".app-id = "io.zsa.keymapp";
           check-further-callbacks = false;
-          "if" = {
-            app-id = "com.brave.Browser";
-            window-title-regex-substring = "Picture in Picture";
-          };
           run = [ "layout floating" ];
         }
       ];

+ 1 - 2
hosts/meili/software.nix

@@ -8,8 +8,7 @@
     gnupg
     jq
     ripgrep
-    ollama
-    rlama
+    unstable.keymapp
   ];
 
   environment.shellInit = ''