From 26e9fec597ae513c552e73b6d401297b0119c583 Mon Sep 17 00:00:00 2001
From: jjanzen <jjanzen@jjanzen.ca>
Date: Sat, 11 Jan 2025 15:25:26 -0600
Subject: system changes

---
 macos.local/.flake/system/aerospace.nix.org | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'macos.local')

diff --git a/macos.local/.flake/system/aerospace.nix.org b/macos.local/.flake/system/aerospace.nix.org
index e83f4a1..a0c72df 100644
--- a/macos.local/.flake/system/aerospace.nix.org
+++ b/macos.local/.flake/system/aerospace.nix.org
@@ -17,6 +17,14 @@ Enable Aerospace as a window manager for macOS. I have disabled gaps, move the m
         on-focus-changed = [
           "move-mouse window-lazy-center"
         ];
+        on-window-detected = [
+          {
+            "if".app-name-regex-substring = "mpv";
+            run = [
+              "layout floating"
+            ];
+          }
+        ];
         workspace-to-monitor-force-assignment = {
           "1" = "main";
           "2" = "main";
-- 
cgit v1.2.3