nixos/home/desktop/config/hypr/keybinds.conf

87 lines
2.8 KiB
Plaintext

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
bind = SUPER, Return, exec, wezterm
bind = SUPER SHIFT, Return, exec, foot
bind = SUPER, Q, killactive,
bind = SUPER, E, exec, power-profiles
bind = SUPER, P, exec, powermenu
bind = SUPER, V, togglefloating,
bind = SUPER, Space, exec, rofi -show drun
bind = SUPER, S, togglegroup
bind = SUPER SHIFT, S, changegroupactive
bind = SUPER, F1, exec, swaylock
bind = SUPER, W, exec, firefox
bind = SUPER, F, exec, thunar
bind = SUPER, M, fullscreen, 1
bind = SUPER, A, bringactivetotop
bind = , XF86AudioMute, exec, pamixer -t
bind = , XF86AudioRaiseVolume, exec, pamixer -i 2
bind = , XF86AudioLowerVolume, exec, pamixer -d 2
# Move focus with mainMod + arrow keys
bind = SUPER, left, movefocus, l
bind = SUPER, H, movefocus, l
bind = SUPER, right, movefocus, r
bind = SUPER, L, movefocus, r
bind = SUPER, up, movefocus, u
bind = SUPER, K, movefocus, u
bind = SUPER, down, movefocus, d
bind = SUPER, J, movefocus, d
bind = SUPER SHIFT, left, movewindow, l
bind = SUPER SHIFT, H, movewindow, l
bind = SUPER SHIFT, right, movewindow, r
bind = SUPER SHIFT, L, movewindow, r
bind = SUPER SHIFT, up, movewindow, u
bind = SUPER SHIFT, K, movewindow, u
bind = SUPER SHIFT, down, movewindow, d
bind = SUPER SHIFT, J, movewindow, d
# Switch workspaces with mainMod + [0-9]
bind = SUPER, 1, workspace, 1
bind = SUPER, 2, workspace, 2
bind = SUPER, 3, workspace, 3
bind = SUPER, 4, workspace, 4
bind = SUPER, 5, workspace, 5
bind = SUPER, 6, workspace, 6
bind = SUPER, 7, workspace, 7
bind = SUPER, 8, workspace, 8
bind = SUPER, 9, workspace, 9
bind = SUPER, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = SUPER SHIFT, 1, movetoworkspace, 1
bind = SUPER SHIFT, 2, movetoworkspace, 2
bind = SUPER SHIFT, 3, movetoworkspace, 3
bind = SUPER SHIFT, 4, movetoworkspace, 4
bind = SUPER SHIFT, 5, movetoworkspace, 5
bind = SUPER SHIFT, 6, movetoworkspace, 6
bind = SUPER SHIFT, 7, movetoworkspace, 7
bind = SUPER SHIFT, 8, movetoworkspace, 8
bind = SUPER SHIFT, 9, movetoworkspace, 9
bind = SUPER, period, workspace, m+1
bind = SUPER, comma, workspace, m-1
bind = SUPER SHIFT, period, movetoworkspace, m+1
bind = SUPER SHIFT, comma, movetoworkspace, m-1
bind = SUPER, bracketright, focusmonitor, +1
bind = SUPER, bracketleft, focusmonitor, +1
bind = SUPER SHIFT, bracketright, movecurrentworkspacetomonitor, +1
bind = SUPER SHIFT, bracketleft, movecurrentworkspacetomonitor, +1
bind = SUPER, N, workspace, empty
bind = SUPER SHIFT, N, movetoworkspace, empty
bind = SUPER, C, togglespecialworkspace
bind = SUPER SHIFT, C, movetoworkspace, special
bind = SUPER, tab, workspace, previous
bind = SUPER SHIFT, tab, movetoworkspace, previous
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow