From 86ec8531d08e65e3f90a7ee78315d04565b56eb6 Mon Sep 17 00:00:00 2001 From: aleidk Date: Mon, 29 Sep 2025 13:00:26 -0300 Subject: [PATCH] add groups to hyprland --- configs/hypr/base/hyprland.conf | 38 +++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/configs/hypr/base/hyprland.conf b/configs/hypr/base/hyprland.conf index 9da59cd..4fbcbdd 100644 --- a/configs/hypr/base/hyprland.conf +++ b/configs/hypr/base/hyprland.conf @@ -62,8 +62,8 @@ general { gaps_out = 10 border_size = 2 - col.active_border = $teal $teal - col.inactive_border = $surface1 $surface1 + col.active_border = rgba($tealAlphadd) + col.inactive_border = rgba($surface1Alphadd) # snap { # enabled = true @@ -93,6 +93,24 @@ animations { gesture = 3, horizontal, workspace +group { + merge_floated_into_tiled_on_groupbar = true + + col.border_active = $teal $teal + col.border_inactive = $surface1 $surface1 + + groupbar { + gradients = true, + text_color = $base + text_color_inactive = $text + col.active = rgba($tealAlphadd) + col.inactive = rgba($surface1Alphadd) + + gaps_in = 0 + gaps_out = 0 + } +} + misc { enable_swallow = true swallow_regex = ^(Alacritty|kitty|footclient)$ @@ -106,7 +124,7 @@ misc { master { new_status = slave mfact = 0.5 - # slave_count_for_center_master = 4 + slave_count_for_center_master = 0 } # ╭──────────────────────────────────────────────────────────╮ @@ -132,6 +150,9 @@ workspace = 7, monitor:HDMI-A-2, persistent:true workspace = 8, monitor:HDMI-A-2, persistent:true workspace = 9, monitor:HDMI-A-2, persistent:true +workspace = w[t1], layoutopt:orientation:center +workspace = w[t2-4], layoutopt:orientation:left + # ╭──────────────────────────────────────────────────────────╮ # │ Keybindings │ # ╰──────────────────────────────────────────────────────────╯ @@ -171,16 +192,19 @@ bind = $mainMod, f, fullscreen, 1 # preserve gaps and bar bind = $mainMod SHIFT, f, fullscreen, 0 # use whole screen bind = $mainMod SHIFT, s, toggleswallow +bind = $mainMod, t, changegroupactive +bind = $mainMod SHIFT, t, togglegroup + # ── Focus ───────────────────────────────────────────────────────────── bind = $mainMod, h, movefocus, l bind = $mainMod, j, movefocus, d bind = $mainMod, k, movefocus, u bind = $mainMod, l, movefocus, r -bind = $mainMod + SHIFT, h, movewindow, l -bind = $mainMod + SHIFT, j, movewindow, d -bind = $mainMod + SHIFT, k, movewindow, u -bind = $mainMod + SHIFT, l, movewindow, r +bind = $mainMod + SHIFT, h, movewindoworgroup, l +bind = $mainMod + SHIFT, j, movewindoworgroup, d +bind = $mainMod + SHIFT, k, movewindoworgroup, u +bind = $mainMod + SHIFT, l, movewindoworgroup, r bind = $mainMod, bar, workspace, previous bind = $mainMod CTRL, bar, focusmonitor, +1