Files
dotfiles/.config/hypr/conf/binds.conf
T
2025-04-30 04:59:01 -05:00

101 lines
3.2 KiB
Plaintext

source=$conf/theme.conf
#---KEYBINDS---#
# Shortcuts
bind = $mainMod Shift, Return, exec, $distrobox
bind = $mainMod, Return, exec, $terminal
bind = $mainMod, Shift_R, exec, $fileManager
bind = $mainMod, Control_R, exec, $browser
bind = $mainMod, E, killactive,
bind = Alt, F4, killactive,
bind = $mainMod, END, exit,
bind = $mainMod, Escape, exec, hyprlock
bind = $mainMod, F, fullscreen
bind = $mainMod Shift, $mainMod_L, exec, pkill rofi || rofi -show run -theme skycontrast -monitor DP-1
bind = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -theme skycontrast -monitor DP-1
bind = $mainMod Shift, w, exec, ~/Scripts/restart-waybar.sh
bind = $mainMod, P, pseudo
bind = $mainMod, V, togglefloating
bind = , print, exec, XDG_SCREENSHOTS_DIR="$HOME/Pictures/Screenshots" grimshot --notify save area
# Move Focus
# Modal
bind = $mainMod, Tab, cyclenext
bind = $mainMod SHIFT, Tab, cyclenext, prev
# bind = $mainMod, H, movefocus, l
# bind = $mainMod, L, movefocus, r
# bind = $mainMod, J, movefocus, d
# bind = $mainMod, K, movefocus, u
bind = $mainMod, J, layoutmsg, cyclenext
bind = $mainMod, K, layoutmsg, cycleprev
# Arrows
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Move window
# Modal
bind = $mainMod, S, swapnext
bind = $mainMod SHIFT, J, layoutmsg, swapnext
bind = $mainMod SHIFT, K, layoutmsg, swapprev
# bind = $mainMod SHIFT, H, movewindow, l
# bind = $mainMod SHIFT, L, movewindow, r
# bind = $mainMod SHIFT, K, movewindow, u
# bind = $mainMod SHIFT, J, movewindow, d
# Resize window
# Modal
bind = $mainMod CONTROL, H, resizeactive, -200 0
bind = $mainMod CONTROL, L, resizeactive, 200 0
bind = $mainMod CONTROL, K, resizeactive, 0 -200
bind = $mainMod CONTROL, J, resizeactive, 0 200
# Media Keys
bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
bindl = , XF86AudioNext, exec, playerctl next
bind = Control_L Shift_L Alt_L, Super_L, exec, hyprpicker
# Mouse Binds
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bindm = , mouse:278, movewindow
bindm = , mouse:279, resizewindow
# Workspaces
# Focus Workspace
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, Q, workspace, alt
bind = $mainMod CONTROL, left, workspace, r-1
bind = $mainMod CONTROL, right, workspace, r+1
bind = , Menu, togglespecialworkspace, media
bind = , XF86Tools, togglespecialworkspace, media
# Move to Workspace
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, Q, movetoworkspace, alt
bind = SHIFT, Menu, movetoworkspace, special:media