#!/bin/sh # stdin: default config # stdout: modified config # 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 sed ' s|||; s|||; ' <<< "$stdin"