~scripts
58 itemsDownload ./*

..
display
dzen2
nginx
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
netspeed.sh
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
zombie-restart.sh


scriptsrotate.sh
634 B• 791•  3 years ago•  DownloadRawClose
3 years ago•  791

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



2 237 459 visits
... ^ v