78 lines
2.8 KiB
Plaintext
78 lines
2.8 KiB
Plaintext
|
|
# █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀
|
|
# █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█
|
|
|
|
# Main modifier
|
|
$mainMod = SUPER
|
|
|
|
# Passthrough
|
|
bind = , mouse:275, pass, ^(discord)$
|
|
bind = SHIFT, mouse:275, pass, ^(discord)$
|
|
|
|
# Core binds
|
|
bind = $mainMod SHIFT, Q, killactive,
|
|
bind = $mainMod SHIFT, M, exit
|
|
bind = $mainMod, SPACE, togglefloating,
|
|
bind = $mainMod, F, fullscreen,
|
|
bind = $mainMod SHIFT, L, exec, hyprlock
|
|
bind = $mainMod $CONTROL, ESCAPE, exec, killall waybar || waybar # toggle waybar
|
|
bind = $mainMod SHIFT, J, togglesplit, # dwindle
|
|
bind = $mainMod SHIFT, SPACE, pseudo, # dwindle
|
|
|
|
# Main application shortcuts
|
|
bind = $mainMod, RETURN, exec, alacritty
|
|
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
|
|
bind = $mainMod SHIFT, 7, exec, taskset -c 1-7 mangohud steamtinkerlaunch mo2 start
|
|
bind = $mainMod, S, exec, pkill -x rofi || rofi -show drun
|
|
|
|
# Audio control
|
|
binde = , XF86AudioPlay, exec, playerctl play-pause
|
|
binde = , XF86AudioStop, exec, playerctl stop
|
|
binde = , XF86AudioPrev, exec, playerctl previous
|
|
binde = , XF86AudioNext, exec, playerctl next
|
|
binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
|
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
|
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
|
|
|
# Custom audio control
|
|
binde = $mainMod, F1, exec, playerctl play-pause
|
|
binde = $mainMod, F2, exec, playerctl previous
|
|
binde = $mainMod, F3, exec, playerctl next
|
|
|
|
# Move focus
|
|
bind = $mainMod, h, movefocus, l
|
|
bind = $mainMod, l, movefocus, r
|
|
bind = $mainMod, k, movefocus, u
|
|
bind = $mainMod, j, movefocus, d
|
|
|
|
# Workspaces
|
|
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 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 ALT, 1, movetoworkspacesilent, 1
|
|
bind = $mainMod ALT, 2, movetoworkspacesilent, 2
|
|
bind = $mainMod ALT, 3, movetoworkspacesilent, 3
|
|
bind = $mainMod ALT, 4, movetoworkspacesilent, 4
|
|
bind = $mainMod ALT, 5, movetoworkspacesilent, 5
|
|
bind = $mainMod ALT, 6, movetoworkspacesilent, 6
|
|
|
|
# Resize windows
|
|
binde = $mainMod, right, resizeactive, 5 0
|
|
binde = $mainMod, left, resizeactive, -5 0
|
|
binde = $mainMod, up, resizeactive, 0 -5
|
|
binde = $mainMod, down, resizeactive, 0 5
|
|
|
|
# Move/Resize windows with mainMod + LMB/RMB and dragging
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
|