diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 6de5718..e77e930 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -37,7 +37,7 @@ # xrandr for screen information. : , # Option "nvidiaXineramaInfoOrder" "DFP-0" screenSection = '' - Option "metamodes" "DP-2: 2560x1440 +1920+0, DP-4: 1920x1080 +0+360" + Option "metamodes" "DP-4: 2560x1440 +1920+0, DP-2: 1920x1080 +0+360" ''; }; hardware.opengl.enable = true; diff --git a/modules/ewwbar/eww-config/eww.yuck b/modules/ewwbar/eww-config/eww.yuck index 2c5af91..a444504 100644 --- a/modules/ewwbar/eww-config/eww.yuck +++ b/modules/ewwbar/eww-config/eww.yuck @@ -150,7 +150,7 @@ "date '+%H:%M %b %d, %Y'") (defwindow bar - :monitor 0 + :monitor 1 :exclusive true :windowtype "dock" :geometry (geometry :x "0%" diff --git a/modules/hyprland/displays.nix b/modules/hyprland/displays.nix index aa1fc11..75f4200 100644 --- a/modules/hyprland/displays.nix +++ b/modules/hyprland/displays.nix @@ -8,17 +8,17 @@ in { wayland.windowManager.hyprland.settings = { workspace = if (hostname == "NicksNixDesktop") then [ - "1,monitor:DP-2" - "3,monitor:DP-2" - "5,monitor:DP-2" - "7,monitor:DP-2" - "9,monitor:DP-2" + "1,monitor:DP-4" + "3,monitor:DP-4" + "5,monitor:DP-4" + "7,monitor:DP-4" + "9,monitor:DP-4" - "2,monitor:DP-3" - "4,monitor:DP-3" - "6,monitor:DP-3" - "8,monitor:DP-3" - "10,monitor:DP-3" + "2,monitor:DP-2" + "4,monitor:DP-2" + "6,monitor:DP-2" + "8,monitor:DP-2" + "10,monitor:DP-2" ] else [ ]; diff --git a/modules/hyprland/monitors.nix b/modules/hyprland/monitors.nix index 2a7d5ab..66ee005 100644 --- a/modules/hyprland/monitors.nix +++ b/modules/hyprland/monitors.nix @@ -4,8 +4,8 @@ let monitor_config = if (hostname == "NicksNixDesktop") then '' - monitor=DP-2, 2560x1440@144, 1920x0, 1 - monitor=DP-3, 1920x1080@60, 0x360,1 + monitor=DP-4, 2560x1440@144, 1920x0, 1 + monitor=DP-2, 1920x1080@60, 0x360,1 env = LIBVA_DRIVER_NAME,nvidia env = XDG_SESSION_TYPE,wayland