Update monitor configuration
This commit is contained in:
parent
75698e050c
commit
c5c79482d1
1 changed files with 55 additions and 4 deletions
|
|
@ -29,8 +29,48 @@
|
|||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --off \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 \
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --primary
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --rotate normal --right-of DP-2-1 \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --rotate normal --primary
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
"latitude/minceraft" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --off \
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --rotate right --right-of DP-2-1 \
|
||||
--output DP-2-1 --mode 1920x1080 --rate 60 --rotate normal --primary
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
"latitude/deskrotateright" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --off \
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --rotate right --right-of DP-2-1 \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --rotate normal --primary
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
"latitude/deskrotateleft" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --off \
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --rotate normal --right-of DP-2-1 --primary \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --rotate left
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
"latitude/deskrotateboth" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --off \
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --rotate right --right-of DP-2-1 \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --rotate left --primary
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
|
|
@ -39,8 +79,8 @@
|
|||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --mode 1920x1080 --left-of DP-2-2 \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 \
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --primary
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --rotate normal --right-of DP-2-1 \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --rotate normal --primary
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
|
|
@ -55,5 +95,16 @@
|
|||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
|
||||
"latitude/nvidia/desk" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1-1 --off \
|
||||
--output DP-1-2-1 --mode 3840x2160 --rate 30 --right-of DP-1-2-2 \
|
||||
--output DP-1-2-2 --mode 3840x2160 --rate 30 --primary
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue