2023-04-13 00:14:04 +02:00
|
|
|
# Bindings
|
|
|
|
# Main mod
|
|
|
|
$mainMod = SUPER
|
|
|
|
|
|
|
|
# Hyprland control
|
2023-05-08 22:57:14 +02:00
|
|
|
bind = $mainMod SHIFT, Q, killactive,
|
2023-04-13 00:14:04 +02:00
|
|
|
bind = $mainMod SHIFT, E, exit,
|
|
|
|
|
|
|
|
# Windows controls
|
|
|
|
# Layout
|
|
|
|
bind = $mainMod, C, togglefloating,
|
|
|
|
bind = $mainMod, P, pseudo,
|
|
|
|
bind = $mainMod, E, togglesplit,
|
2023-09-12 21:29:17 +02:00
|
|
|
|
|
|
|
# Groups
|
2023-04-13 00:14:04 +02:00
|
|
|
bind = $mainMod, S, togglegroup,
|
2023-09-12 21:29:17 +02:00
|
|
|
bind = $mainMod, Prior, changegroupactive, b
|
|
|
|
bind = $mainMod, Next, changegroupactive, f
|
|
|
|
bind = $mainMod SHIFT, Prior, movegroupwindow, b
|
|
|
|
bind = $mainMod SHIFT, Next, movegroupwindow, f
|
|
|
|
bind = $mainMod SHIFT, h, moveoutofgroup,
|
|
|
|
bind = $mainMod SHIFT, j, moveoutofgroup,
|
|
|
|
bind = $mainMod SHIFT, k, moveoutofgroup,
|
|
|
|
bind = $mainMod SHIFT, l, moveoutofgroup,
|
|
|
|
bind = $mainMod SHIFT, left, moveoutofgroup,
|
|
|
|
bind = $mainMod SHIFT, down, moveoutofgroup,
|
|
|
|
bind = $mainMod SHIFT, up, moveoutofgroup,
|
|
|
|
bind = $mainMod SHIFT, right, moveoutofgroup,
|
|
|
|
bind = $mainMod SHIFT, h, moveintogroup, l
|
|
|
|
bind = $mainMod SHIFT, j, moveintogroup, d
|
|
|
|
bind = $mainMod SHIFT, k, moveintogroup, u
|
|
|
|
bind = $mainMod SHIFT, l, moveintogroup, r
|
|
|
|
bind = $mainMod SHIFT, Left, moveintogroup, l
|
|
|
|
bind = $mainMod SHIFT, Down, moveintogroup, d
|
|
|
|
bind = $mainMod SHIFT, Up, moveintogroup, u
|
|
|
|
bind = $mainMod SHIFT, Right, moveintogroup, r
|
2023-04-13 00:14:04 +02:00
|
|
|
|
|
|
|
# Focus
|
|
|
|
bind = $mainMod, left, movefocus, l
|
|
|
|
bind = $mainMod, right, movefocus, r
|
|
|
|
bind = $mainMod, up, movefocus, u
|
|
|
|
bind = $mainMod, down, movefocus, d
|
|
|
|
bind = $mainMod, H, movefocus, l
|
|
|
|
bind = $mainMod, L, movefocus, r
|
|
|
|
bind = $mainMod, K, movefocus, u
|
|
|
|
bind = $mainMod, J, movefocus, d
|
|
|
|
|
|
|
|
# Moving
|
|
|
|
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, H, movewindow, l
|
|
|
|
bind = $mainMod SHIFT, L, movewindow, r
|
|
|
|
bind = $mainMod SHIFT, K, movewindow, u
|
|
|
|
bind = $mainMod SHIFT, J, movewindow, d
|
|
|
|
|
|
|
|
# Workspaces
|
|
|
|
bind = $mainMod, 10, workspace, 1
|
|
|
|
bind = $mainMod, 11, workspace, 2
|
|
|
|
bind = $mainMod, 12, workspace, 3
|
|
|
|
bind = $mainMod, 13, workspace, 4
|
|
|
|
bind = $mainMod, 14, workspace, 5
|
|
|
|
bind = $mainMod, 15, workspace, 6
|
|
|
|
bind = $mainMod, 16, workspace, 7
|
|
|
|
bind = $mainMod, 17, workspace, 8
|
|
|
|
bind = $mainMod, 18, workspace, 9
|
|
|
|
bind = $mainMod, 19, workspace, 10
|
|
|
|
|
|
|
|
# Moving to workspaces
|
|
|
|
bind = $mainMod SHIFT, 10, movetoworkspacesilent, 1
|
|
|
|
bind = $mainMod SHIFT, 11, movetoworkspacesilent, 2
|
|
|
|
bind = $mainMod SHIFT, 12, movetoworkspacesilent, 3
|
|
|
|
bind = $mainMod SHIFT, 13, movetoworkspacesilent, 4
|
|
|
|
bind = $mainMod SHIFT, 14, movetoworkspacesilent, 5
|
|
|
|
bind = $mainMod SHIFT, 15, movetoworkspacesilent, 6
|
|
|
|
bind = $mainMod SHIFT, 16, movetoworkspacesilent, 7
|
|
|
|
bind = $mainMod SHIFT, 17, movetoworkspacesilent, 8
|
|
|
|
bind = $mainMod SHIFT, 18, movetoworkspacesilent, 9
|
|
|
|
bind = $mainMod SHIFT, 19, movetoworkspacesilent, 10
|
|
|
|
|
|
|
|
# Scrolling through workspaces
|
|
|
|
bind = $mainMod, mouse_down, workspace, e-1
|
|
|
|
bind = $mainMod, mouse_up, workspace, e+1
|
|
|
|
|
|
|
|
# Moving and resizing windows with mouse
|
|
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
|
|
|
|
|
|
# Screenshots
|
|
|
|
bind = , Print, exec, glurp full clip
|
|
|
|
bind = SHIFT, Print, exec, glurp area clip
|
|
|
|
bind = ALT, Print, exec, glurp full file
|
|
|
|
bind = SHIFT ALT, Print, exec, glurp area file
|
|
|
|
|
|
|
|
# Launchers
|
|
|
|
bind = $mainMod, D, exec, rofi -show drun
|
|
|
|
bind = $mainMod, 36, exec, kitty
|
2023-06-03 11:51:28 +02:00
|
|
|
bind = $mainMod, F1, exec, $browser
|
2023-04-13 00:14:04 +02:00
|
|
|
bind = $mainMod, F2, exec, joplin-desktop
|
|
|
|
bind = $mainMod, F3, exec, webcord
|
|
|
|
bind = $mainMod ALT, L, exec, swaylock
|
|
|
|
|
|
|
|
# Resize mode
|
|
|
|
bind = $mainMod, R, submap, resize
|
|
|
|
|
|
|
|
submap = resize
|
|
|
|
|
|
|
|
binde = , right, resizeactive, 50 0
|
|
|
|
binde = , left, resizeactive, -50 0
|
|
|
|
binde = , up, resizeactive, 0 -50
|
|
|
|
binde = , down, resizeactive, 0 50
|
|
|
|
binde = , H, resizeactive, -50 0
|
|
|
|
binde = , J, resizeactive, 0 50
|
|
|
|
binde = , K, resizeactive, 0 -50
|
|
|
|
binde = , L, resizeactive, 50 0
|
|
|
|
|
|
|
|
bind= , escape, submap, reset
|
|
|
|
bind= $mainMod, r, submap, reset
|
|
|
|
|
|
|
|
submap = reset
|
|
|
|
|
|
|
|
# Fullscreen
|
|
|
|
bind = $mainMod, F, fullscreen
|
|
|
|
|
2023-05-09 23:15:54 +02:00
|
|
|
# Swap workspaces
|
|
|
|
bind = $mainMod ALT, Space, exec, hyprland-swap_workspaces
|
|
|
|
|