Another fix for screen scaling when sharing screen.

This commit is contained in:
Tom Alexander
2025-12-04 15:26:51 -05:00
parent 519354fd2c
commit 412c6d7220

View File

@@ -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
{