#!/bin/sh argv0="$0" usage(){ printf "Usage: %s (un) [XRandR output]\n" "$argv0" 1>&2 exit 64 # sysexits(3) EX_USAGE } if [ -n "$2" ] && [ "$1" = un ] then xrandr --output "$2" --transform none elif [ -n "$1" ] then "$DISPLAYM_CONFIG/xrandr_transform.sh" "$1" else usage fi