70 lines
2 KiB
Plaintext
70 lines
2 KiB
Plaintext
# This file contains all the bindings for the Hyprland WM.
|
|
|
|
# Basic binds.
|
|
# ------------
|
|
|
|
bind = $key, space, exec, $terminal
|
|
|
|
bind = $key, A, exec, $screenshot
|
|
bind = $key, Z, exec, $browser
|
|
bind = $key, T, exec, $tor
|
|
bind = $key, M, killactive
|
|
bind = $key, F, fullscreen
|
|
|
|
# Move focus with key + arrow keys or vim keys.
|
|
# ---------------------------------------------
|
|
|
|
bind = $key, left, movefocus, l
|
|
bind = $key, right, movefocus, r
|
|
bind = $key, up, movefocus, u
|
|
bind = $key, down, movefocus, d
|
|
|
|
bind = $key, h, movefocus, l
|
|
bind = $key, l, movefocus, r
|
|
bind = $key, k, movefocus, u
|
|
bind = $key, j, movefocus, d
|
|
|
|
bind = $keysh, h, movewindow, l
|
|
bind = $keysh, l, movewindow, r
|
|
bind = $keysh, k, movewindow, u
|
|
bind = $keysh, j, movewindow, d
|
|
|
|
# Switch workspaces and move to workspaces.
|
|
# We use code:n, so that it works on french keyboards.
|
|
# ----------------------------------------------------
|
|
|
|
# Switch workspaces with key + [0-9].
|
|
bind = $key, code:10, workspace, 1
|
|
bind = $key, code:11, workspace, 2
|
|
bind = $key, code:12, workspace, 3
|
|
bind = $key, code:13, workspace, 4
|
|
bind = $key, code:14, workspace, 5
|
|
bind = $key, code:15, workspace, 6
|
|
bind = $key, code:16, workspace, 7
|
|
bind = $key, code:17, workspace, 8
|
|
bind = $key, code:18, workspace, 9
|
|
bind = $key, code:19, workspace, 10
|
|
|
|
# Move active window to a workspace with key + SHIFT + [0-9]
|
|
bind = $keysh, code:10, movetoworkspace, 1
|
|
bind = $keysh, code:11, movetoworkspace, 2
|
|
bind = $keysh, code:12, movetoworkspace, 3
|
|
bind = $keysh, code:13, movetoworkspace, 4
|
|
bind = $keysh, code:14, movetoworkspace, 5
|
|
bind = $keysh, code:15, movetoworkspace, 6
|
|
bind = $keysh, code:16, movetoworkspace, 7
|
|
bind = $keysh, code:17, movetoworkspace, 8
|
|
bind = $keysh, code:18, movetoworkspace, 9
|
|
bind = $keysh, code:19, movetoworkspace, 10
|
|
|
|
# Mouse related binds.
|
|
# --------------------
|
|
|
|
# Scroll through existing workspaces with key + scroll.
|
|
bind = $key, mouse_down, workspace, e+1
|
|
bind = $key, mouse_up, workspace, e-1
|
|
|
|
# Move/resize windows with key + LMB/RMB and dragging
|
|
bindm = $key, mouse:272, movewindow
|
|
bindm = $key, mouse:273, resizewindow
|