Fix monitors

This commit is contained in:
muon 2024-06-11 11:34:00 +00:00
parent 2aa91c36d7
commit 02b0f4bc18
10 changed files with 48 additions and 35 deletions

View file

@ -37,9 +37,9 @@ in {
${pkgs.xorg.xinput} --set-prop "pointer:Logitech Gaming Mouse G502" "libinput Accel Profile Enabled" 0, 1
${pkgs.xorg.xinput} --set-prop "pointer:Logitech Gaming Mouse G502" "libinput Accel Speed" -0.4
'';
services.xserver.displayManager.setupCommands = ''
${pkgs.xorg.xrandr}/bin/xrandr --output HDMI-1 --mode 1920x1080 --pos 2560x0 --rotate right --output DP-2 --primary --mode 2560x1440 --pos 0x480 --rotate normal
'';
# services.xserver.displayManager.setupCommands = ''
# ${pkgs.xorg.xrandr}/bin/xrandr --output HDMI-1 --mode 1920x1080 --pos 2560x0 --rotate right --output DP-2 --primary --mode 2560x1440 --pos 0x480 --rotate normal
# '';
# Backup environment
services.xserver.windowManager.qtile.enable = true;

View file

@ -13,7 +13,7 @@ let cfg = osConfig.mods; in {
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-2,2560x1440@144,0x480,1"
"DP-2,1920x1080,0x480,1,transform,1"
"HDMI-A-2,1920x1080,2560x0,1,transform,3"
];
input.sensitivity = -0.4;
};