From cdc7d13225ec011992da4ab4c66689a26cc50c72 Mon Sep 17 00:00:00 2001
From: Tom Alexander <tom@fizz.buzz>
Date: Tue, 1 Apr 2025 18:44:17 -0400
Subject: [PATCH] Fix screen scaling during screen sharing.

---
 nix/configuration/roles/sway/default.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nix/configuration/roles/sway/default.nix b/nix/configuration/roles/sway/default.nix
index 908e965..6100cab 100644
--- a/nix/configuration/roles/sway/default.nix
+++ b/nix/configuration/roles/sway/default.nix
@@ -240,7 +240,7 @@ let
     IFS=$'\n\t'
     DIR="$( cd "$( dirname "''${BASH_SOURCE[0]}" )" && pwd )"
 
-    makoctl set-mode do-not-disturb
+    makoctl mode -s do-not-disturb
 
     swaymsg output "'Dell Inc. DELL U3014 P1V6N35M329L'" scale 2
   '';
@@ -250,7 +250,7 @@ let
     IFS=$'\n\t'
     DIR="$( cd "$( dirname "''${BASH_SOURCE [ 0 ]}" )" && pwd )"
 
-    makoctl set-mode default
+    makoctl mode -s default
 
     swaymsg output "'Dell Inc. DELL U3014 P1V6N35M329L'" scale 1
   '';