2024-10-25 21:21:08 +00:00
|
|
|
{ home-manager, ... }: {
|
|
|
|
home.file = {
|
2025-01-01 04:52:27 +00:00
|
|
|
"xps/standalone" = {
|
2024-10-25 21:21:08 +00:00
|
|
|
executable = true;
|
|
|
|
text = ''
|
|
|
|
xrandr \
|
2025-01-01 04:52:27 +00:00
|
|
|
--output eDP-1 --mode 1920x1200 --primary \
|
|
|
|
--output DP-1-1 --off \
|
|
|
|
--output DP-1-2 --off \
|
|
|
|
--output DP-1-3 --off
|
2024-10-25 21:21:08 +00:00
|
|
|
i3-msg restart
|
|
|
|
'';
|
|
|
|
};
|
2025-01-01 04:52:27 +00:00
|
|
|
"xps/desk" = {
|
2024-10-25 21:21:08 +00:00
|
|
|
executable = true;
|
|
|
|
text = ''
|
|
|
|
xrandr \
|
2025-01-01 04:52:27 +00:00
|
|
|
--output eDP-1 --off \
|
|
|
|
--output DP-1-1 --mode 1920x1080 --rate 30 --left-of DP-1-2 \
|
|
|
|
--output DP-1-2 --mode 3840x2160 --rate 30 --primary \
|
|
|
|
--output DP-1-3 --mode 3840x2160 --rate 30 --right-of DP-1-2
|
2024-10-25 21:21:08 +00:00
|
|
|
i3-msg restart
|
|
|
|
'';
|
|
|
|
};
|
2025-01-01 04:52:27 +00:00
|
|
|
"xps/workbench" = {
|
2024-10-25 21:21:08 +00:00
|
|
|
executable = true;
|
|
|
|
text = ''
|
|
|
|
xrandr \
|
2025-01-01 04:52:27 +00:00
|
|
|
--output eDP-1 --off \
|
|
|
|
--output DP-1-1 --mode 3840x2160 --rate 30 --left-of DP-1-2 \
|
2024-10-25 21:21:08 +00:00
|
|
|
--output DP-1-2 --mode 3840x2160 --rate 30 --primary \
|
2025-01-01 04:52:27 +00:00
|
|
|
--output DP-1-3 --mode 1920x1080 --rate 30 --right-of DP-1-2
|
|
|
|
i3-msg restart
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
"precision/tv" = {
|
|
|
|
executable = true;
|
|
|
|
text = ''
|
|
|
|
xrandr \
|
|
|
|
--output eDP-1 --mode 1920x1080 --primary \
|
|
|
|
--output DP-4 --mode 1920x1080 --rate 60
|
|
|
|
i3-msg restart
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
"precision/desk" = {
|
|
|
|
executable = true;
|
|
|
|
text = ''
|
|
|
|
xrandr \
|
|
|
|
--output DP-4-3 --mode 3840x2160 --rate 30 --primary \
|
|
|
|
--output DP-4-1 --mode 3840x2160 --rate 30 --right-of DP-4-3 \
|
2024-10-25 21:21:08 +00:00
|
|
|
--output eDP-1 --off
|
|
|
|
i3-msg restart
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
"precision/work" = {
|
|
|
|
executable = true;
|
|
|
|
text = ''
|
|
|
|
xrandr \
|
|
|
|
--output DP-2-2 --mode 3840x2160 --rate 30 --primary \
|
|
|
|
--output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 \
|
|
|
|
--output eDP-1 --off
|
|
|
|
i3-msg restart
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
"precision/standalone" = {
|
|
|
|
executable = true;
|
|
|
|
text = ''
|
|
|
|
xrandr \
|
|
|
|
--output eDP-1 --mode 1920x1200 --primary \
|
|
|
|
--output DP-4 --off \
|
|
|
|
--output DP-2-1 --off \
|
|
|
|
--output DP-2-2 --off \
|
|
|
|
--output DP-4-1 --off \
|
|
|
|
--output DP-4-3 --off
|
|
|
|
i3-msg restart
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|