/ clean-up
doing nr at last, and scale in one go with the rest
This commit is contained in:
@@ -14,26 +14,26 @@ ds-t470p-2() {
|
|||||||
info="1 laptop + 1 monitor for t470p"
|
info="1 laptop + 1 monitor for t470p"
|
||||||
echo "${info}"
|
echo "${info}"
|
||||||
xrandr --output eDP-1 --mode 1920x1080 --pos 0x1080 --rotate normal --output DP-1 --off --output HDMI-1 --primary --mode 3840x2160 --pos 1920x0 --rotate normal --output DP-2 --off --output HDMI-2 --off --output DP-3 --off --output HDMI-3 --off > /dev/null 2>&1
|
xrandr --output eDP-1 --mode 1920x1080 --pos 0x1080 --rotate normal --output DP-1 --off --output HDMI-1 --primary --mode 3840x2160 --pos 1920x0 --rotate normal --output DP-2 --off --output HDMI-2 --off --output DP-3 --off --output HDMI-3 --off > /dev/null 2>&1
|
||||||
nr > /dev/null 2>&1
|
|
||||||
xrdb ~/.Xresources
|
xrdb ~/.Xresources
|
||||||
|
nr > /dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
ds-tuxwarrior-1() {
|
ds-tuxwarrior-1() {
|
||||||
info="1 laptop monitor for tuxwarrior"
|
info="1 laptop monitor for tuxwarrior"
|
||||||
echo "${info}"
|
echo "${info}"
|
||||||
xrandr --output DP-0 --off --output DP-1 --off --output HDMI-0 --off --output DP-2 --primary --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off
|
xrandr --output DP-0 --off --output DP-1 --off --output HDMI-0 --off --output DP-2 --primary --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off
|
||||||
nr > /dev/null 2>&1
|
|
||||||
xrdb ~/.Xresources
|
xrdb ~/.Xresources
|
||||||
|
nr > /dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
ds-tuxwarrior-2() {
|
ds-tuxwarrior-2() {
|
||||||
info="1 laptop + 1 monitor for tuxwarrior"
|
info="1 laptop + 1 monitor for tuxwarrior"
|
||||||
echo "${info}"
|
echo "${info}"
|
||||||
xrandr --output DP-0 --off --output DP-1 --off --output HDMI-0 --primary --mode 3840x2160 --pos 3840x0 --rotate normal --output DP-2 --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off > /dev/null 2>&1
|
xrandr --output DP-0 --off --output DP-1 --off --output HDMI-0 --primary --mode 3840x2160 --pos 3840x0 --rotate normal --output DP-2 --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off > /dev/null 2>&1
|
||||||
nr > /dev/null 2>&1
|
|
||||||
xrdb ~/.Xresources
|
xrdb ~/.Xresources
|
||||||
i3-msg "rename workspace 1 to 10"
|
i3-msg "rename workspace 1 to 10"
|
||||||
i3-msg "rename workspace 2 to 1"
|
i3-msg "rename workspace 2 to 1"
|
||||||
|
nr > /dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
ds-tuxwarrior-3() {
|
ds-tuxwarrior-3() {
|
||||||
@@ -44,14 +44,14 @@ ds-tuxwarrior-3() {
|
|||||||
# xrandr --output DP-0 --primary --mode 3840x2160 --pos 3840x0 --rotate normal --output DP-1 --off --output HDMI-0 --mode 1920x1080 --pos 7680x240 --rotate left --output DP-2 --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off
|
# xrandr --output DP-0 --primary --mode 3840x2160 --pos 3840x0 --rotate normal --output DP-1 --off --output HDMI-0 --mode 1920x1080 --pos 7680x240 --rotate left --output DP-2 --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off
|
||||||
|
|
||||||
# with laptop display scaling of < 1 (reduce resolution):
|
# with laptop display scaling of < 1 (reduce resolution):
|
||||||
xrandr --output DP-2 --scale 0.5
|
#xrandr --output DP-2 --scale 0.5
|
||||||
# with benq display scaling of > 1 (increase resolution):
|
# with benq display scaling of > 1 (increase resolution):
|
||||||
xrandr --output HDMI-0 --scale 1.5
|
#xrandr --output HDMI-0 --scale 1.5
|
||||||
xrandr --output DP-0 --primary --mode 3840x2160 --pos 1920x0 --rotate normal --output DP-1 --off --output HDMI-0 --mode 1920x1080 --pos 5760x0 --rotate left --output DP-2 --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off
|
xrandr --output DP-0 --primary --mode 3840x2160 --pos 1920x0 --rotate normal --output DP-1 --off --output HDMI-0 --scale 1.5 --mode 1920x1080 --pos 5760x0 --rotate left --output DP-2 --scale 0.5 --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off
|
||||||
|
|
||||||
nr > /dev/null 2>&1
|
|
||||||
xrdb ~/.Xresources
|
xrdb ~/.Xresources
|
||||||
i3-msg "rename workspace 2 to 10"
|
i3-msg "rename workspace 2 to 10"
|
||||||
|
nr > /dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user