.dotfiles/.config/hypr/binds.conf

55 lines
2.1 KiB
Text

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