dotfiles-guix/home/config/hypr/config.d/workspaces.conf

80 lines
2.2 KiB
Text
Raw Normal View History

2023-09-05 03:21:01 +00:00
dwindle {
2024-06-22 02:52:21 +00:00
pseudotile = yes
2023-09-05 03:21:01 +00:00
preserve_split = yes
}
gestures {
workspace_swipe = on
}
# Move focus with mod + arrow keys
bind = $mod, left, movefocus, l
bind = $mod, right, movefocus, r
bind = $mod, up, movefocus, u
bind = $mod, down, movefocus, d
# Move window across workspace with mod + arrow keys
2024-06-22 02:52:21 +00:00
bind = $mod SHIFT, left, hy3:movewindow, l
bind = $mod SHIFT, right, hy3:movewindow, r
bind = $mod SHIFT, up, hy3:movewindow, u
bind = $mod SHIFT, down, hy3:movewindow, d
2023-09-05 03:21:01 +00:00
# Switch workspaces with mod + [0-9]
bind = $mod, 1, workspace, 1
bind = $mod, 2, workspace, 2
bind = $mod, 3, workspace, 3
bind = $mod, 4, workspace, 4
bind = $mod, 5, workspace, 5
bind = $mod, 6, workspace, 6
bind = $mod, 7, workspace, 7
bind = $mod, 8, workspace, 8
bind = $mod, 9, workspace, 9
# Move active window to a workspace with mod + SHIFT + [0-9]
bind = $mod SHIFT, 1, movetoworkspacesilent, 1
bind = $mod SHIFT, 2, movetoworkspacesilent, 2
bind = $mod SHIFT, 3, movetoworkspacesilent, 3
bind = $mod SHIFT, 4, movetoworkspacesilent, 4
bind = $mod SHIFT, 5, movetoworkspacesilent, 5
bind = $mod SHIFT, 6, movetoworkspacesilent, 6
bind = $mod SHIFT, 7, movetoworkspacesilent, 7
bind = $mod SHIFT, 8, movetoworkspacesilent, 8
bind = $mod SHIFT, 9, movetoworkspacesilent, 9
bind = $mod SHIFT, 0, movetoworkspacesilent, 10
2024-06-22 02:52:21 +00:00
# Move to tab
2024-06-23 01:31:19 +00:00
bind = LALT, 1, hy3:focustab, index, 01
bind = LALT, 2, hy3:focustab, index, 02
bind = LALT, 3, hy3:focustab, index, 03
bind = LALT, 4, hy3:focustab, index, 04
bind = LALT, 5, hy3:focustab, index, 05
bind = LALT, 6, hy3:focustab, index, 06
bind = LALT, 7, hy3:focustab, index, 07
bind = LALT, 8, hy3:focustab, index, 08
bind = LALT, 9, hy3:focustab, index, 09
bind = LALT, 0, hy3:focustab, index, 10
2024-06-22 02:52:21 +00:00
bindn = , mouse:272, hy3:focustab, mouse
bindn = , mouse_down, hy3:focustab, l, require_hovered
bindn = , mouse_up, hy3:focustab, r, require_hovered
bind = $mod SHIFT, B, hy3:makegroup, h
bind = $mod SHIFT, V, hy3:makegroup, v
bind = $mod SHIFT, C, hy3:changegroup, toggletab
2023-09-05 03:21:01 +00:00
# Scroll through existing workspaces with mod + scroll
bind = $mod, mouse_down, workspace, e+1
bind = $mod, mouse_up, workspace, e-1
# Move/resize windows with mod + LMB/RMB and dragging
bindm = $mod, mouse:272, movewindow
bindm = $mod, mouse:273, resizewindow