50 lines
1.9 KiB
Text
50 lines
1.9 KiB
Text
$main_mod = SUPER
|
|
|
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
|
bind = $main_mod, return, exec, $TERMINAL
|
|
bind = $main_mod, Q, killactive,
|
|
bind = $main_mod, M, exit,
|
|
bind = $main_mod, S, togglefloating,
|
|
bind = $main_mod, D, exec, j4-dmenu-desktop --dmenu="$DMENU"
|
|
bind = $main_mod, P, pseudo, # dwindle
|
|
bind = $main_mod, J, togglesplit, # dwindle
|
|
bind = $main_mod, Pause, exec, menu-shutdown
|
|
|
|
bind = $main_mod SHIFT, R, exec, autostart-manage run-wayland
|
|
|
|
# Move focus with mainMod + arrow keys
|
|
bind = $main_mod, left, movefocus, l
|
|
bind = $main_mod, right, movefocus, r
|
|
bind = $main_mod, up, movefocus, u
|
|
bind = $main_mod, down, movefocus, d
|
|
|
|
# Switch workspaces with mainMod + [0-9]
|
|
bind = $main_mod, 1, workspace, $ws01
|
|
bind = $main_mod, 2, workspace, $ws02
|
|
bind = $main_mod, 3, workspace, $ws03
|
|
bind = $main_mod, 4, workspace, $ws04
|
|
bind = $main_mod, 5, workspace, $ws05
|
|
bind = $main_mod, 6, workspace, $ws06
|
|
bind = $main_mod, 7, workspace, $ws07
|
|
bind = $main_mod, 8, workspace, $ws08
|
|
bind = $main_mod, 9, workspace, $ws09
|
|
bind = $main_mod, 0, workspace, $ws10
|
|
|
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
|
bind = $main_mod SHIFT, 1, movetoworkspacesilent, $ws01
|
|
bind = $main_mod SHIFT, 2, movetoworkspacesilent, $ws02
|
|
bind = $main_mod SHIFT, 3, movetoworkspacesilent, $ws03
|
|
bind = $main_mod SHIFT, 4, movetoworkspacesilent, $ws04
|
|
bind = $main_mod SHIFT, 5, movetoworkspacesilent, $ws05
|
|
bind = $main_mod SHIFT, 6, movetoworkspacesilent, $ws06
|
|
bind = $main_mod SHIFT, 7, movetoworkspacesilent, $ws07
|
|
bind = $main_mod SHIFT, 8, movetoworkspacesilent, $ws08
|
|
bind = $main_mod SHIFT, 9, movetoworkspacesilent, $ws09
|
|
bind = $main_mod SHIFT, 0, movetoworkspacesilent, $ws10
|
|
|
|
bind = $main_mod, dead_circumflex, workspace, $ws_focus
|
|
bind = $main_mod SHIFT, dead_circumflex, movetoworkspacesilent, $ws_focus
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
bindm = $main_mod, mouse:272, movewindow
|
|
bindm = $main_mod, mouse:273, resizewindow
|