103 lines
2.9 KiB
Text
103 lines
2.9 KiB
Text
# Bindings
|
|
# Main mod
|
|
$mainMod = SUPER
|
|
|
|
# Hyprland control
|
|
bind = $mainMod SHIFT, A, killactive,
|
|
bind = $mainMod SHIFT, E, exit,
|
|
|
|
# Windows controls
|
|
# Layout
|
|
bind = $mainMod, C, togglefloating,
|
|
bind = $mainMod, P, pseudo,
|
|
bind = $mainMod, E, togglesplit,
|
|
bind = $mainMod, S, togglegroup,
|
|
|
|
# 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
|
|
bind = $mainMod, F1, exec, sensible-browser
|
|
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
|
|
|