summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-05-03 12:27:40 -0500
committerzachir <zachir@librem.one>2023-05-03 12:27:40 -0500
commiteadc1e0ed8ecc5ce939fcc1f8c7bf21e154eb518 (patch)
treec487028b4becf50d9a2b3797bd19303464f572fe
parent3d9568ad3e1f4d19b9f722c692c3f0f291a701aa (diff)
using only master layout for hyprland for now, configuring it
-rw-r--r--hypr/hyprland.conf62
1 files changed, 33 insertions, 29 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 84c6f23..7a315d0 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -101,10 +101,11 @@ dwindle {
#{{{ Master layout options
master {
special_scale_factor = 0.55
+ mfact = 0.69
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
- new_is_master = true
- new_on_top = false
- no_gaps_when_only = false
+ new_is_master = false
+ new_on_top = true
+ no_gaps_when_only = true
orientation = left
inherit_fullscreen = true
}
@@ -148,39 +149,42 @@ $secdMod = SUPER
#{{{ Layout toggle bind
# Layout toggle
-bind = $mainMod $secdMod, A, exec, hypr-layout -t
+#bind = $mainMod $secdMod, A, exec, hypr-layout -t
#}}}
#{{{ Master layout binds
# Master layout binds
-#bind = $mainMod+SHIFT, Return, layoutmsg, swapwithmaster auto #MASTER
-#bind = $mainMod+SHIFT, J, layoutmsg, swapnext #MASTER
-#bind = $mainMod+SHIFT, K, layoutmsg, swapprev #MASTER
-#bind = $mainMod, H, layoutmsg, addmaster #MASTER
-#bind = $mainMod, L, layoutmsg, removemaster #MASTER
-#bind = $mainMod, J, movefocus, d #MASTER
-#bind = $mainMod, K, movefocus, u #MASTER
+bind = $mainMod+SHIFT, Return, layoutmsg, swapwithmaster auto #MASTER
+bind = $mainMod+SHIFT, J, layoutmsg, swapnext #MASTER
+bind = $mainMod+SHIFT, K, layoutmsg, swapprev #MASTER
+bind = $mainMod+SHIFT, H, layoutmsg, addmaster #MASTER
+bind = $mainMod+SHIFT, L, layoutmsg, removemaster #MASTER
+bindr = $mainMod, H, splitratio, -0.01 #MASTER
+bindr = $mainMod, L, splitratio, +0.01 #MASTER
+bind = $mainMod, O, splitratio, exact 0.69 #MASTER
+bind = $mainMod, J, movefocus, d #MASTER
+bind = $mainMod, K, movefocus, u #MASTER
#}}}
#{{{ Dwindle layout binds
-# Dwindle layout binds
-bind = $mainMod, P, pseudo, #DWINDLE
-bind = $mainMod $secdMod, S, togglesplit, #DWINDLE
-# Move focus with mainMod + HJKL
-bind = $mainMod, H, movefocus, l #DWINDLE
-bind = $mainMod, L, movefocus, r #DWINDLE
-bind = $mainMod, K, movefocus, u #DWINDLE
-bind = $mainMod, J, movefocus, d #DWINDLE
-# Move window with mainMod + HJKL
-bind = $mainMod SHIFT, L, movewindow, r #DWINDLE
-bind = $mainMod SHIFT, H, movewindow, l #DWINDLE
-bind = $mainMod SHIFT, J, movewindow, d #DWINDLE
-bind = $mainMod SHIFT, K, movewindow, u #DWINDLE
-# Resize clients with mainMod + secdMod + HJKL
-binde = $mainMod $secdMod, L, resizeactive, 10 0 #DWINDLE
-binde = $mainMod $secdMod, H, resizeactive, -10 0 #DWINDLE
-binde = $mainMod $secdMod, K, resizeactive, 0 -10 #DWINDLE
-binde = $mainMod $secdMod, J, resizeactive, 0 10 #DWINDLE
+## Dwindle layout binds
+#bind = $mainMod, P, pseudo, #DWINDLE
+#bind = $mainMod $secdMod, S, togglesplit, #DWINDLE
+## Move focus with mainMod + HJKL
+#bind = $mainMod, H, movefocus, l #DWINDLE
+#bind = $mainMod, L, movefocus, r #DWINDLE
+#bind = $mainMod, K, movefocus, u #DWINDLE
+#bind = $mainMod, J, movefocus, d #DWINDLE
+## Move window with mainMod + HJKL
+#bind = $mainMod SHIFT, L, movewindow, r #DWINDLE
+#bind = $mainMod SHIFT, H, movewindow, l #DWINDLE
+#bind = $mainMod SHIFT, J, movewindow, d #DWINDLE
+#bind = $mainMod SHIFT, K, movewindow, u #DWINDLE
+## Resize clients with mainMod + secdMod + HJKL
+#binde = $mainMod $secdMod, L, resizeactive, 10 0 #DWINDLE
+#binde = $mainMod $secdMod, H, resizeactive, -10 0 #DWINDLE
+#binde = $mainMod $secdMod, K, resizeactive, 0 -10 #DWINDLE
+#binde = $mainMod $secdMod, J, resizeactive, 0 10 #DWINDLE
#}}}
#{{{ Group binds