diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index 92419a2..572f1ea 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -25,7 +25,7 @@ # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=DP-1,3440x1440@165, 0x0,1 -monitor=DP-3,1920x1080@60, 3440x1200,1 + ################### ### MY PROGRAMS ### ################### @@ -88,6 +88,13 @@ general { allow_tearing = false layout = dwindle + # layout = master +} + +master { + new_status = inherit + mfact = 0.33 + orientation = center } # https://wiki.hyprland.org/Configuring/Variables/#decoration @@ -131,8 +138,8 @@ animations { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { - pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below - preserve_split = true # You probably want this + pseudotile = false # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = false # You probably want this } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more @@ -182,7 +189,7 @@ $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Z, exec, $terminal bind = $mainMod, C, killactive, -bind = $mainMod, M, exit, +# bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager bind = $mainMod, N, exec, $navigator bind = $mainMod, V, togglefloating bind = $mainMod, F, fullscreen @@ -192,6 +199,12 @@ bind = $mainMod, S, togglesplit, # dwindle bind = $mainMod, Q, exec, hyprlock bind = $mainMod, Y, exec, ~/scripts/screenshot-to-clipboard.sh +# Switch to layouts +bind = $mainMod, M, exec, ~/scripts/toggle_layout.sh +bind = $mainMod, Return, layoutmsg, swapwithmaster +bind = $mainMod, B, layoutmsg, mfact +0.05 +bind = $mainMod, N, layoutmsg, mfact -0.05 + # Move focus with mainMod + arrow keys bind = $mainMod, H, movefocus, l bind = $mainMod, J, movefocus, d