From 412c6d722015409881d006c67f6a80e2e2f4a8f2 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Thu, 4 Dec 2025 15:26:51 -0500 Subject: [PATCH] Another fix for screen scaling when sharing screen. --- nix/configuration/roles/sway/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nix/configuration/roles/sway/default.nix b/nix/configuration/roles/sway/default.nix index 37046788..25d05a17 100644 --- a/nix/configuration/roles/sway/default.nix +++ b/nix/configuration/roles/sway/default.nix @@ -240,9 +240,9 @@ let IFS=$'\n\t' DIR="$( cd "$( dirname "''${BASH_SOURCE[0]}" )" && pwd )" - makoctl mode -s do-not-disturb + ${pkgs.mako}/bin/makoctl mode -s do-not-disturb - swaymsg output "'Dell Inc. DELL U3014 P1V6N35M329L'" scale 2 + ${pkgs.sway}/bin/swaymsg output "'Dell Inc. DELL U3014 P1V6N35M329L'" scale 2 ''; stop_screen_share = pkgs.writeShellScriptBin "stop_screen_share" '' # Allow mako to show notifications again. @@ -250,9 +250,9 @@ let IFS=$'\n\t' DIR="$( cd "$( dirname "''${BASH_SOURCE [ 0 ]}" )" && pwd )" - makoctl mode -s default + ${pkgs.mako}/bin/makoctl mode -s default - swaymsg output "'Dell Inc. DELL U3014 P1V6N35M329L'" scale 1 + ${pkgs.sway}/bin/swaymsg output "'Dell Inc. DELL U3014 P1V6N35M329L'" scale 1 ''; in {