From 1057f9ff07c8205d53a0e28220a4826efae1a298 Mon Sep 17 00:00:00 2001 From: SindreKjelsrud Date: Tue, 8 Oct 2024 21:19:33 +0200 Subject: [PATCH] :wrench: add keybindings for fullscreen & workspace-switching Signed-off-by: SindreKjelsrud --- .config/hypr/hyprland.conf | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index d9f45e1..0b6ea53 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -231,13 +231,14 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic -# Scroll through existing workspaces with mainMod + scroll -bind = $mainMod, mouse_down, workspace, e+1 -bind = $mainMod, mouse_up, workspace, e-1 +# Scroll through existing workspaces with mainMod + TAB +bind = $mainMod, TAB, workspace, e+1 +bind = $mainMod SHIFT, TAB, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow +bind = $mainMod, F, fullscreen # Laptop multimedia keys for volume and LCD brightness bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ @@ -254,9 +255,4 @@ bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules -# Example windowrule v1 -# windowrule = float, ^(kitty)$ - -# Example windowrule v2 -# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ -windowrulev2 = suppressevent maximize, class:.* +windowrulev2 = suppressevent maximize, class:.* # correct size on laptop