diff --git a/dots/bash/.bashrc b/dots/bash/.bashrc index ca4a541..c815bfb 100644 --- a/dots/bash/.bashrc +++ b/dots/bash/.bashrc @@ -128,8 +128,20 @@ rshift() { } # display setup -ds11() { - info="1 laptop + 1 monitor" +ds-t470p-11() { + info="1 laptop + 1 monitor for t470p" + if [[ $1 == "info" ]] ; then + echo "${info}" + else + 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 + nr > /dev/null 2>&1 + xrdb ~/.Xresources + fi +} + +ds-tuxwarrior-11() { + info="1 laptop + 1 monitor for tuxwarrior" if [[ $1 == "info" ]] ; then echo "${info}" else