Skip to content

Commit

Permalink
set scale factor to 2.0 and disable wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCroughan committed Mar 14, 2024
1 parent 064a7f3 commit 626bce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kiosk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ let
if [ -e /sys/class/input/mouse1 ]
then
# required cross-origin-iframe and popup blocking flags due to iframe
${lib.getExe pkgs.ungoogled-chromium} --blink-settings=allowScriptsToCloseWindows=true --ozone-platform=wayland --user-agent="SCALE:$LAST_OCTET" --disable-popup-blocking --disable-throttle-non-visible-cross-origin-iframes --incognito --start-maximized --disable-gpu --kiosk ${mouseUrl}
${lib.getExe pkgs.ungoogled-chromium} --force-device-scale-factor=2.0 --blink-settings=allowScriptsToCloseWindows=true --user-agent="SCALE:$LAST_OCTET" --disable-popup-blocking --disable-throttle-non-visible-cross-origin-iframes --incognito --start-maximized --disable-gpu --kiosk ${mouseUrl}
else
${lib.getExe pkgs.ungoogled-chromium} --ozone-platform=wayland --incognito --start-maximized --disable-gpu --kiosk ${regularUrl}
${lib.getExe pkgs.ungoogled-chromium} --force-device-scale-factor=2.0 --incognito --start-maximized --disable-gpu --kiosk ${regularUrl}
fi
done
'';
Expand Down

0 comments on commit 626bce3

Please sign in to comment.