11 lines
203 B
Bash
Executable File
11 lines
203 B
Bash
Executable File
SCREEN=$(xrandr -q | sed -n "s/^\(.*\) connected .*$/\1/p" | head -n 1)
|
|
(
|
|
while true
|
|
do
|
|
sleep 60s
|
|
xrandr --output $SCREEN --rotate inverted
|
|
sleep 10s
|
|
xrandr --output $SCREEN --rotate normal
|
|
done
|
|
) &
|