Files
omarchy/default/hypr/bindings.conf

87 lines
3.0 KiB
Plaintext
Raw Normal View History

2025-06-01 11:21:00 +02:00
# See https://wiki.hyprland.org/Configuring/Keywords/
$terminal = alacritty
$fileManager = nautilus --new-window
$browser = chromium --new-window
$menu = wofi --show drun
2025-06-01 11:21:00 +02:00
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
2025-06-01 20:46:01 +02:00
bind = SUPER, return, exec, $terminal
bind = SUPER, F, exec, $fileManager
bind = SUPER, B, exec, $browser
2025-06-01 11:21:00 +02:00
2025-06-01 20:46:01 +02:00
bind = SUPER, space, exec, $menu
bind = SUPER, W, killactive,
bind = SUPER, ESCAPE, exec, hyprlock
bind = SUPER SHIFT, ESCAPE, exit,
2025-06-01 11:21:00 +02:00
2025-06-01 20:46:01 +02:00
bind = SUPER, J, togglesplit, # dwindle
bind = SUPER, P, pseudo, # dwindle
bind = SUPER, V, togglefloating,
2025-06-01 11:21:00 +02:00
# Move focus with mainMod + arrow keys
2025-06-01 20:46:01 +02:00
bind = SUPER, left, movefocus, l
bind = SUPER, right, movefocus, r
bind = SUPER, up, movefocus, u
bind = SUPER, down, movefocus, d
2025-06-01 11:21:00 +02:00
# Switch workspaces with mainMod + [0-9]
2025-06-01 20:46:01 +02:00
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
2025-06-01 11:21:00 +02:00
# Move active window to a workspace with mainMod + SHIFT + [0-9]
2025-06-01 20:46:01 +02:00
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 SHIFT, 0, movetoworkspace, 10
2025-06-01 11:21:00 +02:00
# Swap active window with the one next to it with mainMod + SHIFT + arrow keys
2025-06-01 20:46:01 +02:00
bind = SUPER SHIFT, left, swapwindow, l
bind = SUPER SHIFT, right, swapwindow, r
bind = SUPER SHIFT, up, swapwindow, u
bind = SUPER SHIFT, down, swapwindow, d
2025-06-01 11:21:00 +02:00
# Resize active window with mainMod + SHFT + CTRL + arrow keys
2025-06-02 22:27:34 +02:00
bind = SUPER SHIFT CTRL, left, resizeactive, -50 0
bind = SUPER SHIFT CTRL, right, resizeactive, 50 0
2025-06-01 11:21:00 +02:00
# Scroll through existing workspaces with mainMod + scroll
2025-06-01 20:46:01 +02:00
bind = SUPER, mouse_down, workspace, e+1
bind = SUPER, mouse_up, workspace, e-1
2025-06-01 11:21:00 +02:00
# Move/resize windows with mainMod + LMB/RMB and dragging
2025-06-01 20:46:01 +02:00
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
2025-06-01 11:21:00 +02:00
# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
2025-06-01 15:14:23 +02:00
# Screenshots
bind = , PRINT, exec, hyprshot -m region
bind = SHIFT, PRINT, exec, hyprshot -m window