Upgraded GPU, no more HDMI-A-1
This commit is contained in:
parent
680ec362f7
commit
71e2c972d0
|
@ -102,7 +102,7 @@
|
||||||
wayland.windowManager.sway.config.output = {
|
wayland.windowManager.sway.config.output = {
|
||||||
"DP-1" = { pos = "0 0"; mode = "3840x2160@59.997Hz"; scale = "2"; };
|
"DP-1" = { pos = "0 0"; mode = "3840x2160@59.997Hz"; scale = "2"; };
|
||||||
"DP-2" = { pos = "1920 0"; mode = "3840x2160@59.997Hz"; scale = "2"; };
|
"DP-2" = { pos = "1920 0"; mode = "3840x2160@59.997Hz"; scale = "2"; };
|
||||||
"HDMI-A-1" = { pos = "3840 0"; mode = "3840x2160@60Hz"; scale = "2"; };
|
"DP-3" = { pos = "3840 0"; mode = "3840x2160@60Hz"; scale = "2"; };
|
||||||
};
|
};
|
||||||
# no toTOML generator so I guess we have to do this
|
# no toTOML generator so I guess we have to do this
|
||||||
xdg.configFile."rustybar/config.toml".text = ''
|
xdg.configFile."rustybar/config.toml".text = ''
|
||||||
|
|
|
@ -11,37 +11,37 @@ in
|
||||||
${swayPrelude}
|
${swayPrelude}
|
||||||
swaymsg "output DP-1 disable"
|
swaymsg "output DP-1 disable"
|
||||||
swaymsg "output DP-2 disable"
|
swaymsg "output DP-2 disable"
|
||||||
swaymsg "output HDMI-A-1 enable mode 3840x2160 scale 2 pos 0 0"
|
swaymsg "output DP-3 enable mode 3840x2160 scale 2 pos 0 0"
|
||||||
'')
|
'')
|
||||||
(pkgs.writeScriptBin "miniwork" ''
|
(pkgs.writeScriptBin "miniwork" ''
|
||||||
${swayPrelude}
|
${swayPrelude}
|
||||||
swaymsg "output DP-1 disable"
|
swaymsg "output DP-1 disable"
|
||||||
swaymsg "output DP-2 enable mode 3840x2160 scale 2 pos 0 0"
|
swaymsg "output DP-2 enable mode 3840x2160 scale 2 pos 0 0"
|
||||||
swaymsg "output HDMI-A-1 enable mode 3840x2160 scale 2 pos 1920 0"
|
swaymsg "output DP-3 enable mode 3840x2160 scale 2 pos 1920 0"
|
||||||
'')
|
'')
|
||||||
(pkgs.writeScriptBin "game" ''
|
(pkgs.writeScriptBin "game" ''
|
||||||
${swayPrelude}
|
${swayPrelude}
|
||||||
swaymsg "output DP-1 enable mode 3840x2160 scale 2 pos 0 0"
|
swaymsg "output DP-1 enable mode 3840x2160 scale 2 pos 0 0"
|
||||||
swaymsg "output DP-2 enable mode 3840x2160 scale 1 pos 1920 0"
|
swaymsg "output DP-2 enable mode 3840x2160 scale 1 pos 1920 0"
|
||||||
swaymsg "output HDMI-A-1 enable mode 3840x2160 scale 2 pos 5760 0"
|
swaymsg "output DP-3 enable mode 3840x2160 scale 2 pos 5760 0"
|
||||||
'')
|
'')
|
||||||
(pkgs.writeScriptBin "nogame" ''
|
(pkgs.writeScriptBin "nogame" ''
|
||||||
${swayPrelude}
|
${swayPrelude}
|
||||||
swaymsg "output DP-1 enable mode 3840x2160 scale 2 pos 0 0"
|
swaymsg "output DP-1 enable mode 3840x2160 scale 2 pos 0 0"
|
||||||
swaymsg "output DP-2 enable mode 3840x2160 scale 2 pos 1920 0"
|
swaymsg "output DP-2 enable mode 3840x2160 scale 2 pos 1920 0"
|
||||||
swaymsg "output HDMI-A-1 enable mode 3840x2160 scale 2 pos 3840 0"
|
swaymsg "output DP-3 enable mode 3840x2160 scale 2 pos 3840 0"
|
||||||
'')
|
'')
|
||||||
(pkgs.writeScriptBin "swap" ''
|
(pkgs.writeScriptBin "swap" ''
|
||||||
${swayPrelude}
|
${swayPrelude}
|
||||||
swaymsg "output DP-1 enable mode 3840x2160 scale 2 pos 1920 0"
|
swaymsg "output DP-1 enable mode 3840x2160 scale 2 pos 1920 0"
|
||||||
swaymsg "output DP-2 enable mode 3840x2160 scale 2 pos 0 0"
|
swaymsg "output DP-2 enable mode 3840x2160 scale 2 pos 0 0"
|
||||||
swaymsg "output HDMI-A-1 enable mode 3840x2160 scale 2 pos 3840 0"
|
swaymsg "output DP-3 enable mode 3840x2160 scale 2 pos 3840 0"
|
||||||
'')
|
'')
|
||||||
(pkgs.writeScriptBin "swapgame" ''
|
(pkgs.writeScriptBin "swapgame" ''
|
||||||
${swayPrelude}
|
${swayPrelude}
|
||||||
swaymsg "output DP-1 enable mode 3840x2160 scale 1 pos 0 0"
|
swaymsg "output DP-1 enable mode 3840x2160 scale 1 pos 0 0"
|
||||||
swaymsg "output DP-2 enable mode 3840x2160 scale 2 pos 3840 0"
|
swaymsg "output DP-2 enable mode 3840x2160 scale 2 pos 3840 0"
|
||||||
swaymsg "output HDMI-A-1 enable mode 3840x2160 scale 2 pos 5760 0"
|
swaymsg "output DP-3 enable mode 3840x2160 scale 2 pos 5760 0"
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue