92 lines
3.0 KiB
Plaintext
Executable File
92 lines
3.0 KiB
Plaintext
Executable File
# -- keybinds --
|
|
$mod = SUPER
|
|
|
|
bind = $mod, RETURN, exec, $terminal
|
|
bind = $mod, W, killactive, # "Quit"
|
|
bind = $mod, Q, killactive, # "Quit"
|
|
bind = $mod, F, fullscreen,
|
|
bind = $mod, V, togglefloating,
|
|
bind = $mod, D, exec, $menu # "Apps"
|
|
bind = $mod SHIFT, D, pseudo, # dwindle
|
|
# bind = $mod, J, togglesplit, # dwindle
|
|
|
|
# file manager
|
|
bind = $mod, E, exec, $fileManager
|
|
|
|
# hyprlock
|
|
bind = $mod, L, exec, hyprlock
|
|
|
|
# switch workspaces
|
|
bind = $mod, 1, workspace, 1
|
|
bind = $mod, 2, workspace, 2
|
|
bind = $mod, 3, workspace, 3
|
|
bind = $mod, 4, workspace, 4
|
|
bind = $mod, 5, workspace, 5
|
|
bind = $mod, 6, workspace, 6
|
|
bind = $mod, 7, workspace, 7
|
|
bind = $mod, 8, workspace, 8
|
|
bind = $mod, 9, workspace, 9
|
|
bind = $mod, 0, workspace, 10
|
|
bind = $mod, TAB, workspace, e+1
|
|
|
|
bind = $mod, F1, workspace, 401
|
|
|
|
# move active window to a workspace
|
|
bind = $mod SHIFT, 1, movetoworkspace, 1
|
|
bind = $mod SHIFT, 2, movetoworkspace, 2
|
|
bind = $mod SHIFT, 3, movetoworkspace, 3
|
|
bind = $mod SHIFT, 4, movetoworkspace, 4
|
|
bind = $mod SHIFT, 5, movetoworkspace, 5
|
|
bind = $mod SHIFT, 6, movetoworkspace, 6
|
|
bind = $mod SHIFT, 7, movetoworkspace, 7
|
|
bind = $mod SHIFT, 8, movetoworkspace, 8
|
|
bind = $mod SHIFT, 9, movetoworkspace, 9
|
|
bind = $mod SHIFT, 0, movetoworkspace, 10
|
|
|
|
bind = $mod SHIFT, F1, movetoworkspace, 401
|
|
|
|
# move focus
|
|
bind = $mod, left, movefocus, l
|
|
bind = $mod, right, movefocus, r
|
|
bind = $mod, up, movefocus, u
|
|
bind = $mod, down, movefocus, d
|
|
|
|
# scroll through existing workspaces
|
|
bind = $mod, mouse_down, workspace, e+1
|
|
bind = $mod, mouse_up, workspace, e-1
|
|
|
|
# move/resize windows
|
|
bindm = $mod, mouse:272, movewindow
|
|
bindm = $mod SHIFT, mouse:272, resizewindow
|
|
|
|
bind = $mod SHIFT, right, resizeactive, 30 0
|
|
bind = $mod SHIFT, left, resizeactive, -30 0
|
|
bind = $mod SHIFT, up, resizeactive, 0 -30
|
|
bind = $mod SHIFT, down, resizeactive, 0 30
|
|
|
|
bind = $mod SHIFT, L, moveactive, 30 0
|
|
bind = $mod SHIFT, I, moveactive, -30 0
|
|
bind = $mod SHIFT, O, moveactive, 0 -30
|
|
bind = $mod SHIFT, K, moveactive, 0 30
|
|
|
|
# screenshots
|
|
bind = $mod, P, exec, ~/.config/hypr/scripts/screenshot/screenshot_window.sh
|
|
bind = $mod ALT, P, exec, ~/.config/hypr/scripts/screenshot/screenshot_monitor.sh
|
|
bind = $mod SHIFT, P, exec, ~/.config/hypr/scripts/screenshot/screenshot_area.sh
|
|
bind = $mod SHIFT, S, exec, ~/.config/hypr/scripts/screenshot/screenshot_area_2.sh
|
|
|
|
# Scrolling
|
|
bind = $mod CTRL, left, layoutmsg, focus l
|
|
bind = $mod CTRL, right, layoutmsg, focus r
|
|
bind = $mod CTRL SHIFT, left, layoutmsg, swapcol l
|
|
bind = $mod CTRL SHIFT, right, layoutmsg, swapcol r
|
|
|
|
# Audio keys
|
|
bindel = , XF86AudioRaiseVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
|
bindel = , XF86AudioLowerVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
bindel = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
|
|
# Video Keys
|
|
bindel = , XF86AudioPlay, exec, playerctl play-pause || playerctl play-pause
|
|
bindel = , XF86AudioNext, exec, playerctl next
|
|
bindel = , XF86AudioPrev, exec, playerctl previous |