diff --git a/.gitignore b/.gitignore index 42f6d573..f17352dc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .gen temp_bin +home/dot_config/hypr/monitors.conf diff --git a/home/dot_config/hypr/hyprland.conf b/home/dot_config/hypr/hyprland.conf index 7e881188..65c287aa 100644 --- a/home/dot_config/hypr/hyprland.conf +++ b/home/dot_config/hypr/hyprland.conf @@ -1,16 +1,8 @@ -# See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=HDMI-A-1,2560x1440@144,1920x0,1 -monitor=DP-2,1920x1080@60,0x0,1 - # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mod = SUPER $term = kitty $e = & hyprctl dispatch submap reset -# Monitor definitions -$pri = HDMI-A-1 -$sec = DP-3 - # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch @@ -21,6 +13,7 @@ source = ~/.config/hypr/workspaces.conf source = ~/.config/hypr/keybinds.conf source = ~/.config/hypr/windows.conf source = ~/.config/hypr/start.conf +source = ~/.config/hypr/monitors.conf # Some default env vars. env = XCURSOR_SIZE,24 diff --git a/home/dot_config/hypr/monitors.conf.example b/home/dot_config/hypr/monitors.conf.example new file mode 100644 index 00000000..9939d495 --- /dev/null +++ b/home/dot_config/hypr/monitors.conf.example @@ -0,0 +1,10 @@ +# This is an example for a monitors.config +# Modify current system and monitor config + +# See https://wiki.hyprland.org/Configuring/Monitors/ +monitor=MON1,XxY@ZZZ,XxY,1 +monitor=MON2,XxY@ZZZ,XxY,1 + +# Primary/secondary monitor definitions +$pri = MON1 +$sec = MON2