From 764c4442f2cd412d24e7e086f143539bdf67d949 Mon Sep 17 00:00:00 2001 From: Amolith Date: Mon, 29 Jan 2024 11:38:13 -0500 Subject: [PATCH] add groups and window rules --- dot_config/hypr/hyprland.conf.tmpl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dot_config/hypr/hyprland.conf.tmpl b/dot_config/hypr/hyprland.conf.tmpl index 483cec3592fc689d42198ef49308e329278aee74..dc80a9c6481d4472f65956e339547a76c4b54fd9 100644 --- a/dot_config/hypr/hyprland.conf.tmpl +++ b/dot_config/hypr/hyprland.conf.tmpl @@ -120,6 +120,12 @@ gestures { {{- end }} } +group { + insert_after_current = false + col.border_active = rgba(000000ee) + col.border_inactive = rgba(000000ee) +} + misc { # See https://wiki.hyprland.org/Configuring/Variables/ for more disable_hyprland_logo = true @@ -135,6 +141,8 @@ misc { # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more windowrulev2 = nomaximizerequest, class:.* # You'll probably like this. +windowrulev2 = workspace 4,class:(steam) +windowrulev2 = workspace 6,class:(org.gajim.Gajim|org.telegram.desktop) # See https://wiki.hyprland.org/Configuring/Keywords/ for more @@ -169,6 +177,10 @@ bind = $mod , N, exec, dunstctl close-all bind = $mod SHIFT, N, exec, dunstctl history-pop bind = $mod CTRL , N, exec, dunstctl context +# Window groups (analogous to i3 tabs) +bind = $mod SHIFT, g, togglegroup +bind = $mod , g, changegroupactive + # Move focus with mod + arrow keys bind = $mod, left , movefocus, l bind = $mod, right, movefocus, r