Initial commit

This commit is contained in:
Lauren Lagarde 2024-10-25 16:21:08 -05:00
commit a1e0d5cff6
19 changed files with 1400 additions and 0 deletions

56
monitor_configs.nix Normal file
View file

@ -0,0 +1,56 @@
{ home-manager, ... }: {
home.file = {
"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 \
--output eDP-1 --off
i3-msg restart
'';
};
"xps/desk" = {
executable = true;
text = ''
xrandr \
--output DP-1-2 --mode 3840x2160 --rate 30 --primary \
--output DP-1-1 --mode 3840x2160 --rate 30 --right-of DP-1-2 \
--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
'';
};
};
}