dotfiles/config/hypr-ahrc--pc/hyprland.d/bindings.conf

93 lines
2.9 KiB
Text

# Open terminal
bind = SUPER, Space, exec, $terminal
bind = SUPER SHIFT, Space, exec, $terminal -e sudo -i
# Workspaces
#bind = SUPER, equal, movetoworkspace, special
bind = SUPER, 10, workspace, 1
bind = SUPER, 11, workspace, 2
bind = SUPER, 12, workspace, 3
bind = SUPER, 13, workspace, 4
bind = SUPER, R, workspace, 5
bind = SUPER, F, workspace, 6
bind = SUPER, V, workspace, 7
bind = SUPER, C, workspace, 8
bind = SUPER, X, workspace, 9
bind = SUPER, W, workspace, 10
bind = SUPER, mouse_down, workspace, e-1
bind = SUPER, mouse_up, workspace, e+1
bind = SUPER Alt_L, Return, exec, hyprswapworkspaces
# Windows
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
bind = SUPER SHIFT, Q, hy3:killactive
bind = SUPER SHIFT, 10, movetoworkspacesilent, 1
bind = SUPER SHIFT, 11, movetoworkspacesilent, 2
bind = SUPER SHIFT, 12, movetoworkspacesilent, 3
bind = SUPER SHIFT, 13, movetoworkspacesilent, 4
bind = SUPER SHIFT, R, movetoworkspacesilent, 5
bind = SUPER SHIFT, F, movetoworkspacesilent, 6
bind = SUPER SHIFT, V, movetoworkspacesilent, 7
bind = SUPER SHIFT, C, movetoworkspacesilent, 8
bind = SUPER SHIFT, X, movetoworkspacesilent, 9
bind = SUPER SHIFT, W, movetoworkspacesilent, 10
# bind = SUPER SHIFT, space, pin, active
bind = SUPER SHIFT, A, hy3:movewindow, l
bind = SUPER SHIFT, Z, hy3:movewindow, u
bind = SUPER SHIFT, S, hy3:movewindow, d
bind = SUPER SHIFT, D, hy3:movewindow, r
bind = SUPER, Return, cyclenext, floating
bind = SUPER SHIFT, Return, togglefloating
bind = SUPER Alt_L, F, fullscreen
bind = SUPER SHIFT Alt_L, F, fakefullscreen
# Focus
bind = SUPER, A, hy3:movefocus, l
bind = SUPER, Z, hy3:movefocus, u
bind = SUPER, S, hy3:movefocus, d
bind = SUPER, D, hy3:movefocus, r
bindn = , mouse:272, hy3:focustab, mouse
bindn = , mouse_up, hy3:focustab, r, require_hovered, wrap
bindn = , mouse_down, hy3:focustab, l, require_hovered, wrap
# Groups
bind = SUPER, Q, hy3:makegroup, tab, force_ephemeral
bind = SUPER, E, hy3:changegroup, opposite
bind = SUPER, B, hy3:changegroup, toggletab
# Global
bind = SUPER SHIFT, BackSpace, exit
# Launchers
bind = SUPER, F1, exec, anyrun
bind = SUPER, F2, exec, $joplin
# bind = SUPER, F3, exec, $bitwarden
bind = SUPER, F3, exec, $element
bind = SUPER, F4, exec, $discord
bind = SUPER, F5, exec, $deezer
bind = SUPER, G, exec, $browser
# Screenshots
bind = , Print, exec, glurp full clip
bind = Alt_L, Print, exec, glurp full file
bind = SHIFT, Print, exec, glurp area clip
bind = SHIFT Alt_L, Print, exec, glurp area file
# Lock screen
bind = SUPER, L, exec, $locker
# Sound
binde = SUPER, Prior, exec, swayosd-client --output-volume=raise
binde = SUPER, Next, exec, swayosd-client --output-volume=lower
# Resize
bind = SUPER Alt_L, R, submap, resize
submap = resize
bind = , escape, submap, reset
bind = SUPER Alt_L, R, submap, reset
binde = , A, resizeactive, -25 0
binde = , Z, resizeactive, 0 -25
binde = , S, resizeactive, 0 25
binde = , D, resizeactive, 25 0
submap = reset