monitors and aliases
This commit is contained in:
parent
f81a2849a6
commit
a69638d639
5 changed files with 112 additions and 36 deletions
|
|
@ -1,9 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
xrandr --output eDP-1 --auto
|
||||
xrandr --output DP-2 --auto
|
||||
xrandr --output DP-3 --auto
|
||||
xrandr --output DP-2 --rotate normal
|
||||
xrandr --output DP-3 --left-of eDP-1
|
||||
xrandr --output DP-2 --left-of DP-3
|
||||
xrandr --output DP-2 --primary
|
||||
xrandr --output eDP --auto
|
||||
xrandr --output DisplayPort-1 --auto
|
||||
xrandr --output DisplayPort-2 --auto
|
||||
xrandr --output DisplayPort-1 --rotate normal
|
||||
xrandr --output DisplayPort-2 --rotate normal
|
||||
xrandr --output DisplayPort-1 --left-of eDP
|
||||
xrandr --output DisplayPort-2 --left-of DisplayPort-1
|
||||
xrandr --output DisplayPort-2 --primary
|
||||
|
|
|
|||
10
local/bin/rotate-both.sh
Executable file
10
local/bin/rotate-both.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
xrandr --output eDP --auto --scale 1x1
|
||||
xrandr --output DisplayPort-1 --auto --scale 1x1
|
||||
xrandr --output DisplayPort-2 --auto --scale 1x1
|
||||
xrandr --output DisplayPort-1 --rotate right
|
||||
xrandr --output DisplayPort-2 --rotate left
|
||||
xrandr --output DisplayPort-1 --left-of eDP
|
||||
xrandr --output DisplayPort-2 --left-of DisplayPort-1
|
||||
xrandr --output DisplayPort-2 --primary
|
||||
|
|
@ -1,9 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
xrandr --output eDP-1 --auto
|
||||
xrandr --output DP-2 --auto
|
||||
xrandr --output DP-3 --auto
|
||||
xrandr --output DP-2 --rotate right
|
||||
xrandr --output DP-3 --left-of eDP-1
|
||||
xrandr --output DP-2 --left-of DP-3
|
||||
xrandr --output DP-2 --primary
|
||||
xrandr --output eDP --auto
|
||||
xrandr --output DisplayPort-1 --auto
|
||||
xrandr --output DisplayPort-2 --auto
|
||||
xrandr --output DisplayPort-1 --rotate normal
|
||||
xrandr --output DisplayPort-2 --rotate right
|
||||
xrandr --output DisplayPort-1 --left-of eDP
|
||||
xrandr --output DisplayPort-2 --left-of DisplayPort-1
|
||||
xrandr --output DisplayPort-2 --primary
|
||||
|
|
|
|||
14
local/bin/share-top-left.sh
Executable file
14
local/bin/share-top-left.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
if ! command -v xrandr >/dev/null 2>&1; then
|
||||
echo "Missing required command: xrandr" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec xrandr \
|
||||
--output eDP \
|
||||
--mode 2560x1600 \
|
||||
--pos 0x0 \
|
||||
--scale-from 1440x1280
|
||||
Loading…
Add table
Add a link
Reference in a new issue