From 224edd7200c2f91d76c005352104210388361500 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Wed, 7 Feb 2024 15:53:23 +0100 Subject: [PATCH] Multiple movements in every direction --- hyprland.conf | 66 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 63 insertions(+), 3 deletions(-) diff --git a/hyprland.conf b/hyprland.conf index bd75979..eb74d42 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -30,11 +30,12 @@ exec-once = blueman-applet general { # See https://wiki.hyprland.org/Configuring/Variables/ for more - gaps_in = 5 - gaps_out = 20 + gaps_in = 3 + gaps_out = 10 border_size = 2 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) + no_border_on_floating = true layout = dwindle } @@ -74,6 +75,10 @@ animations { } # Misc +misc { + hide_cursor_on_touch = true +} + dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below @@ -96,10 +101,28 @@ device:epic-mouse-v1 { sensitivity = -0.5 } +# Gestures +group { + focus_removed_window = true + + groupbar { + font_family = SFMono Nerd Font Mono + } +} + # Layouts # Window rules +windowrule = float, Picture-in-Picture +windowrule = float, ^(Firefox)$ + + +# Binds +binds { + pass_mouse_when_bound = true +} + # Keybindings bind = $mainMod, Q, exec, kitty bind = $mainMod, C, killactive, @@ -107,14 +130,20 @@ bind = $mainMod, M, exit, bind = $mainMod, E, exec, nemo bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, wofi --show drun -bind = $mainMod, P, exec, firefox --private-window # pseudo, # dwindle +bind = $mainMod SHIFT, P, exec, firefox --private-window # pseudo, # dwindle +bind = $mainMod SHIFT, F, exec, firefox bind = $mainMod, O, togglesplit, # dwindle +bind = $mainMod, T, togglefloating, +bind = $mainMod, F, fullscreen +bind = $mainMod, P, togglefloating +bind = $mainMod, P, pin binde=, XF86AudioRaiseVolume, exec, amixer -q sset master 5%+ binde=, XF86AudioLowerVolume, exec, amixer -q sset master 5%- # Window Management bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow +bindm = $mainMod SHIFT, mouse:272, resizewindow # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l @@ -128,6 +157,11 @@ bind = $mainMod, l, movefocus, r bind = $mainMod, k, movefocus, u bind = $mainMod, j, movefocus, d +bind = $mainMod SHIFT, h, movewindow, l +bind = $mainMod SHIFT, l, movewindow, r +bind = $mainMod SHIFT, k, movewindow, u +bind = $mainMod SHIFT, j, movewindow, d + # Workspace Management bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 @@ -140,6 +174,21 @@ bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 +bind = CONTROL ALT, h, workspace, -1 +bind = CONTROL ALT, l, workspace, +1 +bind = CONTROL ALT, left, workspace, -1 +bind = CONTROL ALT, right, workspace, +1 + +bind = CONTROL ALT SHIFT, h, movetoworkspace, -1 +bind = CONTROL ALT SHIFT, l, movetoworkspace, +1 +bind = CONTROL ALT SHIFT, left, movetoworkspace, -1 +bind = CONTROL ALT SHIFT, right, movetoworkspace, +1 + +bind = $mainMod CONTROL SHIFT, h, movetoworkspacesilent, -1 +bind = $mainMod CONTROL SHIFT, l, movetoworkspacesilent, +1 +bind = $mainMod CONTROL SHIFT, left, movetoworkspacesilent, -1 +bind = $mainMod CONTROL SHIFT, right, movetoworkspacesilent, +1 + bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 @@ -150,3 +199,14 @@ bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +bind = $mainMod ALT, 1, movetoworkspacesilent, 1 +bind = $mainMod ALT, 2, movetoworkspacesilent, 2 +bind = $mainMod ALT, 3, movetoworkspacesilent, 3 +bind = $mainMod ALT, 4, movetoworkspacesilent, 4 +bind = $mainMod ALT, 5, movetoworkspacesilent, 5 +bind = $mainMod ALT, 6, movetoworkspacesilent, 6 +bind = $mainMod ALT, 7, movetoworkspacesilent, 7 +bind = $mainMod ALT, 8, movetoworkspacesilent, 8 +bind = $mainMod ALT, 9, movetoworkspacesilent, 9 +bind = $mainMod ALT, 0, movetoworkspacesilent, 10