#!/bin/sh # stdin: default config # stdout: modified config set -e # save stdin in variable stdin="$(cat)" # assert WindowScalingFactor is as expected echo "$stdin" | grep --quiet '' # assert CursorThemeSize is as expected echo "$stdin" | grep --quiet '' # 1. Double WindowScalingFactor # 2.Increase cursor size to 32 echo "$stdin" | sed ' s|||; s|||; '