82 lines
2.8 KiB
Plaintext
82 lines
2.8 KiB
Plaintext
# See https://wiki.hyprland.org/Configuring/Keywords/
|
|
|
|
bind = , Print, exec, ~/Scripts/screenshot.sh
|
|
bind = SHIFT, Print, exec, ~/Scripts/screenshot-swappy.sh
|
|
|
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
|
bind = $mod, return, exec, $terminal
|
|
bind = $mod, Q, killactive,
|
|
# bind = $mod, M, exit,
|
|
bind = $mod, E, exec, $fileManager
|
|
bind = $mod, space, togglefloating,
|
|
bind = $mod, D, exec, $menu
|
|
bind = $mod, P, pseudo, # dwindle
|
|
bind = $mod, J, togglesplit, # dwindle
|
|
bind = $mod, F, fullscreen
|
|
bind = $mod SHIFT, R, exec, killall waybar && waybar &
|
|
|
|
# Move focus with mod + arrow keys
|
|
bind = $mod, left, movefocus, l
|
|
bind = $mod, right, movefocus, r
|
|
bind = $mod, up, movefocus, u
|
|
bind = $mod, down, movefocus, d
|
|
|
|
# Move window with mod + arrow keys
|
|
bind = $mod SHIFT, left, movewindow, l
|
|
bind = $mod SHIFT, right, movewindow, r
|
|
bind = $mod SHIFT, up, movewindow, u
|
|
bind = $mod SHIFT, down, movewindow, d
|
|
|
|
# Switch workspaces with mod + [0-9]
|
|
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
|
|
|
|
# Move active window to a workspace with mod + SHIFT + [0-9]
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
# Example special workspace (scratchpad)
|
|
bind = $mod, S, togglespecialworkspace, magic
|
|
bind = $mod SHIFT, S, movetoworkspace, special:magic
|
|
|
|
# Scroll through existing workspaces with mod + scroll
|
|
bind = $mod, mouse_down, workspace, e+1
|
|
bind = $mod, mouse_up, workspace, e-1
|
|
|
|
# Move/resize windows with mod + LMB/RMB and dragging
|
|
bindm = $mod, mouse:272, movewindow
|
|
bindm = $mod, mouse:273, resizewindow
|
|
|
|
# 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 s 10%+
|
|
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
|
|
|
# Requires playerctl
|
|
bindl = , XF86AudioNext, exec, playerctl next
|
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
bindl = , XF86AudioPrev, exec, playerctl previous |