~scripts
49 itemsDownload ./*

49 itemsDownload ./*

..
dzen2
tiling
vosh
4cdl
4trips
alarm
ambient
battery-monitor
brightness.sh
checkit
cleverbot.py
clock
color-gen
colors-hex
compton
dailywall
dmenu
ffthumb
grid
gridmacro
gridmacro.kde
importw
indexer
installng
keep-on
mp3ogg
orage
pipes
pipes.x
ports
rain
randwall
rotate.sh
scan.sh
screen-dim
screencast
screencast2
scrot
scrotw
search
skull
slocker
starwars
streamit
sumnum
tty-colorize
usrmount
ytp
ytplay


scriptsrotate.sh
76•  4 months ago•  DownloadRawClose
4 months ago•  76

{}
#!/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 - 2022
twily at twily dot info



1 769 768 visits
... ^ v