XRandR transformation
This commit is contained in:
parent
53ba39dd55
commit
49f8cbc6db
12
dotfiles-old/bin/transform
Executable file
12
dotfiles-old/bin/transform
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/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
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user