Add script to rotate monitor on the right and update x-auto
This commit is contained in:
parent
57f189dd56
commit
87d839fd8a
2 changed files with 5 additions and 1 deletions
4
x-at-home
Normal file
4
x-at-home
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
x-off
|
||||||
|
xrandr --output DP1 --above eDP1 --auto --rotate left
|
||||||
2
x-auto
2
x-auto
|
|
@ -5,7 +5,7 @@ if [ "$#" -lt 1 ]; then
|
||||||
set -- "$@" above
|
set -- "$@" above
|
||||||
fi
|
fi
|
||||||
|
|
||||||
primary=eDP-1
|
primary=eDP1
|
||||||
|
|
||||||
# position: something xrandr understands
|
# position: something xrandr understands
|
||||||
position=$1; shift
|
position=$1; shift
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue