aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macos.local/.flake/system/aerospace.nix.org8
1 files changed, 8 insertions, 0 deletions
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";