From 025cfbdf86f00749c210f3559cc0e69220b4f93b Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Mon, 26 Aug 2024 19:31:48 -0500 Subject: [PATCH] /+ display setup for tuxwarrior --- dots/bash/.bashrc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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