diff --git a/de/hypr/hyprland.conf b/de/hypr/hyprland.conf index 752c74e..c6ab1e4 100644 --- a/de/hypr/hyprland.conf +++ b/de/hypr/hyprland.conf @@ -52,7 +52,7 @@ general { col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) - layout = dwindle + layout = hy3 } decoration { diff --git a/de/hypr/hyprland.conf.d/bindings.conf b/de/hypr/hyprland.conf.d/bindings.conf index a6a2ae8..bbaaa57 100644 --- a/de/hypr/hyprland.conf.d/bindings.conf +++ b/de/hypr/hyprland.conf.d/bindings.conf @@ -3,8 +3,8 @@ $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, RETURN, exec, $terminal -bind = $mainMod, Q, killactive, -bind = $mainMod SHIFT, E, exit, +bind = $mainMod, Q, hy3:killactive, +bind = $mainMod SHIFT, Q, exit, bind = $mainMod, N, exec, thunar bind = $mainMod, M, exec, prismlauncher bind = $mainMod, B, exec, firefox @@ -49,17 +49,38 @@ bind = , XF86AudioPause, exec, playerctl pause-pause bind = , XF86AudioNext, exec, playerctl next bind = , XF86AudioPrev, exec, playerctl previous -# Move focus with mainMod + arrow keys -bind = $mainMod, left, movefocus, l -bind = $mainMod, right, movefocus, r -bind = $mainMod, up, movefocus, u -bind = $mainMod, down, movefocus, d +# Hy3 controls +bind = $mainMod, d, hy3:makegroup, h, ephemeral +bind = $mainMod+SHIFT, d, hy3:makegroup, v, ephemeral +bind = $mainMod, z, hy3:makegroup, tab, ephemeral +bind = $mainMod, a, hy3:changefocus, raise +bind = $mainMod+SHIFT, a, hy3:changefocus, lower +bind = $mainMod, s, hy3:changegroup, toggletab +bind = $mainMod, e, hy3:changegroup, opposite + +# Moving focus +bind = $mainMod, left, hy3:movefocus, l +bind = $mainMod, right, hy3:movefocus, r +bind = $mainMod, up, hy3:movefocus, u +bind = $mainMod, down, hy3:movefocus, d + +# Moving focus visible +bind = $mainMod+CONTROL, left, hy3:movefocus, l, visible +bind = $mainMod+CONTROL, down, hy3:movefocus, d, visible +bind = $mainMod+CONTROL, up, hy3:movefocus, u, visible +bind = $mainMod+CONTROL, right, hy3:movefocus, r, visible # Moving windows -bind = $mainMod SHIFT, left, movewindow, l -bind = $mainMod SHIFT, right, movewindow, r -bind = $mainMod SHIFT, up, movewindow, u -bind = $mainMod SHIFT, down, movewindow, d +bind = $mainMod SHIFT, left, hy3:movewindow, l, once +bind = $mainMod SHIFT, right, hy3:movewindow, r, once +bind = $mainMod SHIFT, up, hy3:movewindow, u, once +bind = $mainMod SHIFT, down, hy3:movewindow, d, once + +# Moving windows visible +bind = $mainMod+CONTROL+SHIFT, left, hy3:movewindow, l, once, visible +bind = $mainMod+CONTROL+SHIFT, down, hy3:movewindow, d, once, visible +bind = $mainMod+CONTROL+SHIFT, up, hy3:movewindow, u, once, visible +bind = $mainMod+CONTROL+SHIFT, right, hy3:movewindow, r, once, visible bind = $mainMod, 10, workspace, 1 bind = $mainMod, 11, workspace, 2 @@ -84,6 +105,17 @@ bind = $mainMod SHIFT, 17, movetoworkspacesilent, 8 bind = $mainMod SHIFT, 18, movetoworkspacesilent, 9 bind = $mainMod SHIFT, 19, movetoworkspacesilent, 10 +bind = $mainMod+CONTROL, 10, hy3:focustab, index, 01 +bind = $mainMod+CONTROL, 11, hy3:focustab, index, 02 +bind = $mainMod+CONTROL, 12, hy3:focustab, index, 03 +bind = $mainMod+CONTROL, 13, hy3:focustab, index, 04 +bind = $mainMod+CONTROL, 14, hy3:focustab, index, 05 +bind = $mainMod+CONTROL, 15, hy3:focustab, index, 06 +bind = $mainMod+CONTROL, 16, hy3:focustab, index, 07 +bind = $mainMod+CONTROL, 17, hy3:focustab, index, 08 +bind = $mainMod+CONTROL, 18, hy3:focustab, index, 09 +bind = $mainMod+CONTROL, 19, hy3:focustab, index, 10 + # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 @@ -91,6 +123,10 @@ bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow +bindn = , mouse:272, hy3:focustab, mouse + +bindn = , mouse_down, hy3:focustab, l, require_hovered +bindn = , mouse_up, hy3:focustab, r, require_hovered # Fullscreen bind = $mainMod, F, fullscreen diff --git a/de/hypr/hyprland.conf.d/plugins.conf b/de/hypr/hyprland.conf.d/plugins.conf index 2341afb..4fb2418 100644 --- a/de/hypr/hyprland.conf.d/plugins.conf +++ b/de/hypr/hyprland.conf.d/plugins.conf @@ -1 +1,17 @@ plugin = /usr/lib/libhy3.so + +plugin { + hy3 { + tabs { + height = 5 + padding = 8 + render_text = false + } + + autotile { + enable = true + trigger_width = 800 + trigger_height = 500 + } + } +}