~scripts
55 itemsDownload ./*

55 itemsDownload ./*

..
display
dzen2
tiling
vosh
4cdl
4trips
alarm
ambient
battery-monitor
checkit
cleverbot.py
clock
color-gen
colors-hex
colorscheme.sh
compton.sh
dailywall
dmenu
ffthumb
grid
gridmacro
gridmacro.kde
help
importw
indexer
install-all.sh
install-twily.sh
installng
mp3ogg
orage
pipes
pipes.x
pipewire_bt.sh
ports
rain
randwall
readystart.sh
rotate.sh
scan.sh
screencast
screencast2
scrot
scrotw
search
skull
slocker
startblender.sh
starwars
streamit
sumnum
synctimedate.sh
tty-colorize
usrmount
ytp
ytplay


scriptsrotate.sh
603•  2 years ago•  DownloadRawClose
2 years ago•  603

{}
#!/bin/bash

R="$1"

case "$R" in
    "normal")
        xrandr -o normal
        xinput set-prop $ID "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
        ;;
    "left")
        xrandr -o left
        xinput set-prop $ID "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
        ;;
    "inverted")
        xrandr -o inverted
        xinput set-prop $ID "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
        ;;
    "right")
        xrandr -o right
        xinput set-prop $ID "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
        ;;
    *)
        echo "Missing input normal,left,inverted,right"
esac

exit

Top
©twily.info 2013 - 2024
twily at twily dot info



2 085 687 visits
... ^ v