86 lines
3.1 KiB
Plaintext
86 lines
3.1 KiB
Plaintext
binds {
|
|
workspace_back_and_forth = true
|
|
}
|
|
|
|
# bindings
|
|
$mainMod = SUPER
|
|
|
|
# basic key bindings
|
|
bind = $mainMod, Return, exec, alacritty
|
|
bind = $mainMod, B, exec, blueman-manager
|
|
bind = $mainMod, C, exec, alacritty --class clipse --command clipse $PPID
|
|
bind = $mainMod, D, exec, ~/.dotfiles/wofi/wofi.sh
|
|
bind = $mainMod, E, exec, nautilus --new-window
|
|
bind = $mainMod, F, fullscreen
|
|
bind = $mainMod, J, togglesplit
|
|
bind = $mainMod, K, exec, alacritty --class scratchbox
|
|
bind = $mainMod, M, exit,
|
|
bind = $mainMod, N, exec, alacritty --class nmtui --command ~/.dotfiles/hyprland/nmtui.sh
|
|
bind = $mainMod, P, pseudo
|
|
bind = $mainMod, Q, killactive
|
|
bind = $mainMod, S, exec, ~/.dotfiles/screenshot/screenshot.sh area
|
|
bind = ALT SHIFT, S, exec, ~/.dotfiles/screenshot/screenshot.sh screen
|
|
bind = $mainMod, T, exec, alacritty --class nostt --command nostt
|
|
bind = $mainMod, V, togglefloating
|
|
|
|
# manage lockscreen
|
|
bind = $mainMod, L, exec, ~/.dotfiles/swaylock/lock.sh
|
|
bindl = ,switch:on:Lid Switch, exec, ~/.dotfiles/swaylock/lock.sh
|
|
|
|
# focus bindings
|
|
bind = $mainMod, up, movefocus, u
|
|
bind = $mainMod, down, movefocus, d
|
|
bind = $mainMod, left, movefocus, l
|
|
bind = $mainMod, right, movefocus, r
|
|
|
|
# switch workspace bindings
|
|
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, 6, workspace, 6
|
|
bind = $mainMod, 7, workspace, 7
|
|
bind = $mainMod, 8, workspace, 8
|
|
bind = $mainMod, 9, workspace, 9
|
|
bind = $mainMod, 0, workspace, 10
|
|
|
|
# move window to workspaces bindings
|
|
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, 6, movetoworkspace, 6
|
|
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
|
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|
|
|
# move workspaces using the mouse
|
|
bind = $mainMod, mouse_up, workspace, e+1
|
|
bind = $mainMod, mouse_down, workspace, e-1
|
|
|
|
# move window using keys
|
|
bind = ALT SHIFT, up, movewindow, u
|
|
bind = ALT SHIFT, down, movewindow, d
|
|
bind = ALT SHIFT, left, movewindow, l
|
|
bind = ALT SHIFT, right, movewindow, r
|
|
|
|
# move windows using the mouse
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
|
|
# resize window bindings
|
|
bind = $mainMod SHIFT, up, resizeactive, 0 -50
|
|
bind = $mainMod SHIFT, down, resizeactive, 0 50
|
|
bind = $mainMod SHIFT, left, resizeactive, -50 0
|
|
bind = $mainMod SHIFT, right, resizeactive, 50 0
|
|
|
|
# multimedia key bindings
|
|
bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
|
|
bind = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
|
bind = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
bind = ,XF86MonBrightnessDown, exec, brightnessctl set 10%-
|
|
bind = ,XF86MonBrightnessUp, exec, brightnessctl set 10%+
|