Window groups (tabs) support in Hyprland
Add Hyprland group support with theme styling
- Added group window (tabs) support with SUPER + SHIFT + T keybinding
- Added keybinding for SUPER + Tab to cycle through grouped windows
- Implemented theme-aware group bar colors that match each theme
Nice. See also https://github.com/basecamp/omarchy/pull/656
For SUPER + TAB, something else is also claiming for that. :-P
https://github.com/basecamp/omarchy/pull/652
Can you record a video or show some screenshots of what this looks like?
@rafaelbernard Ahh yes, I didn't see that other PR. I guess that the other PR has a bit more configurations than this one :smiley:
@dhh Yes, of course.
Here are the tabs in a couple of the different themes:
Tokyo Night:
Catppuccin Latte:
Everforest:
If you're interested in tabs, you might consider a sway-like approach: toggle all active windows into a single tab group, perfect when switching between an external monitor and a laptop on the go.
👉 Demo video: https://github.com/basecamp/omarchy/discussions/326
Benefit: it reuses the existing SUPER + ← / → bindings to navigate between grouped windows.
@bastnic The sway-like approach also seems like a good way to do it. It's nice that it uses the SUPER + arrows to navigate the tabs :+1:
I am currently playing with this. I also added bindings to move windows inside/outside the group and to jump directly to a specific tab. Something like:
# Tabbed windows toggle
bind = SUPER ALT, T, togglegroup
# Focus on another window in the group
bind = SUPER ALT, bracketleft, changegroupactive, b
bind = SUPER ALT, bracketright, changegroupactive, f
bind = SUPER ALT, 1, changegroupactive, 1
bind = SUPER ALT, 2, changegroupactive, 2
bind = SUPER ALT, 3, changegroupactive, 3
bind = SUPER ALT, 4, changegroupactive, 4
bind = SUPER ALT, 5, changegroupactive, 5
bind = SUPER ALT, 6, changegroupactive, 6
bind = SUPER ALT, 7, changegroupactive, 7
bind = SUPER ALT, 8, changegroupactive, 8
bind = SUPER ALT, 9, changegroupactive, 9
# TODO
#bind = SUPER ALT SHIFT, bracketleft, movegroupwindow, b
#bind = SUPER ALT SHIFT, bracketright, movegroupwindow, f
# Moving non-tabbed window inside a group
bind = SUPER ALT SHIFT, left, moveintogroup, l
bind = SUPER ALT SHIFT, right, moveintogroup, r
bind = SUPER ALT SHIFT, up, moveintogroup, u
bind = SUPER ALT SHIFT, down, moveintogroup, d
# Moving tabbed window outside the group
bind = SUPER ALT SHIFT CTRL, left, moveoutofgroup, l
bind = SUPER ALT SHIFT CTRL, right, moveoutofgroup, r
bind = SUPER ALT SHIFT CTRL, up, moveoutofgroup, u
bind = SUPER ALT SHIFT CTRL, down, moveoutofgroup, d
In Sway it was amazing that inside tabbed group you could split window vertically or horizontally, so you would have 2 or more apps simultaneously
Also would be cool to have contextual SUPER + arrow, because in Sway you can use the same SUPER + Right/Left to navigate inside tabbed group and just inside workspace
Here I see that we need to bind different key binding for navigating inside tabbed group
I have updated the key bindings to avoid SUPER + TAB which is now used elsewhere.
I also added some of the same bindings as @mfornasa mentioned and support to navigate inside tabbed group with SUPER ALT + Right/Left as suggested by @dkeysil
Here is a small recording of how it looks:
https://github.com/user-attachments/assets/8402781e-c252-4846-8f87-d065c1b53da0
Solved via #656