From a480aa58040d10bd9e45f50ed4bb2f5b0afd3667 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Fri, 27 Dec 2024 11:03:42 +0100 Subject: [PATCH] refactor hyprland configuration to use external monitors.local.conf for monitor settings --- config/hyprland.conf | 3 +-- config/monitors.local.conf | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 config/monitors.local.conf diff --git a/config/hyprland.conf b/config/hyprland.conf index a55571a..aa28d08 100644 --- a/config/hyprland.conf +++ b/config/hyprland.conf @@ -6,8 +6,7 @@ ################ # See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=eDP-1, highrr, 0x0, 1 -monitor=DP-2, highrr, 2560x0, 1 +source = /home/menno/dotfiles/config/monitors.local.conf ################### diff --git a/config/monitors.local.conf b/config/monitors.local.conf new file mode 100644 index 0000000..7bbf9ce --- /dev/null +++ b/config/monitors.local.conf @@ -0,0 +1,5 @@ +# See https://wiki.hyprland.org/Configuring/Monitors/ +# 5120x1440 at 240hz left monitor +monitor=DP-2, highrr, 0x0, 1 +# 3440x1440 at 120hz right monitor portrait mode +monitor=DP-3, highrr, 5120x-1440, 1, transform, 3 \ No newline at end of file