Skip to content

Instantly share code, notes, and snippets.

@t0m5k1
Last active August 3, 2024 16:01
Show Gist options
  • Save t0m5k1/6bf141cf03efb20fa1ce833369e0e1f9 to your computer and use it in GitHub Desktop.
Save t0m5k1/6bf141cf03efb20fa1ce833369e0e1f9 to your computer and use it in GitHub Desktop.
.config/hypr/binds.conf
#bind = $mainMod, Q, exec, kitty
#bind = $mainMod, Q, exec, terminator
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
#bind = $mainMod, E, exec, dolphin
bind = $mainMod, E, exec, thunar
bind = $mainMod, V, togglefloating,
#bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, R, exec, /home/t0m5k1/.config/rofi/scripts/launcher_t6
bind = $mainmod ALT, S, exec, grim
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
## Binds to start apps with F keys
bind = $mainMod, F1, exec, [silent] xfce4-terminal
bind = $mainMod, F2, exec, thunar
bind = $mainMod, F3, exec, deluge
bind = $mainMod SHIFT, F3, exec, remmina
bind = $mainMod, F4, exec, brave --app=https://mail.google.com
bind = $mainMod, F5, exec, brave --app=https://web.whatsapp.com
bind = $mainMod, F6, exec, brave
bind = $mainMod SHIFT, F6, exec, firefox
bind = $mainMod, F7, exec, brave --profile-directory=Default --app-id=eeefaffjnpkfbcaoomhifpkbjbpnanep
bind = $mainMod SHIFT, F7, exec, brave --profile-directory=Default --app-id=ikigfogfljecogfmdkeiipdcamdbibjl
bind = $mainMod, F9, exec, deezer
bind = $mainMod SHIFT, F9, exec, cantata
bind = $mainMod CONTROL, F9, exec, urxvt -e ncmpcpp
## Mediakeys
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
## Window Control
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Move active window to a workspace with mainMod + SHIFT + [0-9]
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/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# window groups/tabs
bind = $mainMod,T,togglegroup
bind = $mainMod mouse:272, T, moveintogroup
bind = $mainMod ALT, T , changegroupactive, b
## Workspace Control
# Switch workspaces with mainMod + [0-9]
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
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment