/ move display setup to startup.sh

This commit is contained in:
committer@t470p
2024-11-17 06:49:42 -05:00
parent 6f613e8ee1
commit db6cdfca82
2 changed files with 34 additions and 29 deletions

View File

@@ -130,32 +130,6 @@ rshift() {
redshift -P -O ${temperature}
}
# display setup
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
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
nr > /dev/null 2>&1
xrdb ~/.Xresources
i3-msg "rename workspace 1 to 10"
i3-msg "rename workspace 2 to 1"
fi
}
# # Change the window title of X terminals
# case ${TERM} in
# xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*)