118 lines
		
	
	
	
		
			3.6 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			118 lines
		
	
	
	
		
			3.6 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
# Binding Config File for Hyprland
 | 
						|
 | 
						|
# Main Bindings
 | 
						|
 | 
						|
# Programs
 | 
						|
bind=ALT,A,exec,footclient nvim
 | 
						|
bind=ALT,B,exec,swaylock
 | 
						|
bind=ALT,E,exec,dolphin
 | 
						|
bind=ALT,G,exec,${XDG_CONFIG_HOME:-~/.config}/hypr/plumbing.sh
 | 
						|
bind=ALT,C,exec,${XDG_CONFIG_HOME:-~/.config}/hypr/plumbing.sh clip
 | 
						|
bind=ALT,RETURN,exec,footclient
 | 
						|
bindr=ALTSHIFT,RETURN,exec,pkill wofi || wofi -S drun --allow-images
 | 
						|
bind=ALT,P,exec,hyprpicker -a
 | 
						|
 | 
						|
 | 
						|
# Basic Actions
 | 
						|
bind=ALT,Q,killactive,
 | 
						|
bind=ALT,V,togglefloating,
 | 
						|
bind=ALTSHIFT,M,fullscreen,0
 | 
						|
bind=SUPER,M,exec,hyprctl dispatch exit 0
 | 
						|
 | 
						|
# Screenshots
 | 
						|
bind=,Print,exec,slurp | grim -t jpeg -g - - | wl-copy
 | 
						|
bind=SHIFT,Print,exec,slurp | grim -t jpeg -g - Downloads/screenshot.jpeg
 | 
						|
bind=SHIFTSUPER,Print,exec,hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' | grim -t jpeg -g - - | wl-copy
 | 
						|
bind=SUPER,Print,exec,hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' | grim -g - Downloads/screenshot.jpeg
 | 
						|
 | 
						|
# trigger when the switch is toggled
 | 
						|
bindl=,switch:Lid Switch,exec,swaylock
 | 
						|
 | 
						|
 | 
						|
# Games
 | 
						|
bind=ALTSHIFT,C,exec,steam-run "~/Documents/Games/Celeste/Celeste"
 | 
						|
bind=ALTSHIFT,O,exec,osu\!
 | 
						|
bind=ALTSHIFT,R,exec,steam-run "~/Documents/Games/factorio/bin/x64/factorio"
 | 
						|
bind=ALTSHIFT,S,exec,steam-run "~/Documents/Games/Stardew Valley/StardewValley"
 | 
						|
bind=ALTSHIFT,T,exec,gamescope -w 1280 -h 960 -f -r 60 wine "~/Documents/Games/Touhou 15 - Legacy of Lunatic Kingdom/th15.exe"
 | 
						|
 | 
						|
 | 
						|
# Window Moving
 | 
						|
bindm=SUPER,mouse:272,movewindow
 | 
						|
bindm=SUPER,mouse:273,resizewindow
 | 
						|
 | 
						|
# Quick Bindings
 | 
						|
bindle=,XF86MonBrightnessDown,exec,brightnessctl -d intel_backlight set 1%-
 | 
						|
bindle=,XF86MonBrightnessUp,exec,brightnessctl -d intel_backlight set +1%
 | 
						|
 | 
						|
bindle=,XF86AudioRaiseVolume,exec,${XDG_CONFIG_HOME:-~/.config}/dunst/scripts/volumeNotify.sh 1%+
 | 
						|
bindle=,XF86AudioLowerVolume,exec,${XDG_CONFIG_HOME:-~/.config}/dunst/scripts/volumeNotify.sh 1%-
 | 
						|
 | 
						|
bindl=,XF86AudioMute,exec,${XDG_CONFIG_HOME:-~/.config}/dunst/scripts/muteToggle.sh
 | 
						|
 | 
						|
bindl=,XF86AudioPlay,exec,playerctl play-pause
 | 
						|
bindl=,XF86AudioPrev,exec,playerctl previous
 | 
						|
bindl=,XF86AudioNext,exec,playerctl next
 | 
						|
 | 
						|
# Movement Bindings
 | 
						|
bind=ALT,H,movefocus,l
 | 
						|
bind=ALT,L,movefocus,r
 | 
						|
bind=ALT,K,movefocus,u
 | 
						|
bind=ALT,J,movefocus,d
 | 
						|
 | 
						|
# Swap window
 | 
						|
bind=ALTSHIFT,J,swapwindow, d
 | 
						|
bind=ALTSHIFT,k,swapwindow, u
 | 
						|
bind=ALTSHIFT,h,swapwindow, l
 | 
						|
bind=ALTSHIFT,l,swapwindow, r
 | 
						|
 | 
						|
## Special Workspaces ##
 | 
						|
 | 
						|
# Firefox
 | 
						|
bind=ALT,F,togglespecialworkspace,firefox
 | 
						|
bind=ALTSHIFT,F,movetoworkspace,special:firefox
 | 
						|
 | 
						|
# Chat Programs
 | 
						|
bind=ALT,S,togglespecialworkspace,chat
 | 
						|
bind=ALTSHIFT,S,movetoworkspace,special:chat
 | 
						|
 | 
						|
# Switch Workspace Bindings
 | 
						|
bind=ALT,1,workspace,1
 | 
						|
bind=ALT,2,workspace,2
 | 
						|
bind=ALT,3,workspace,3
 | 
						|
bind=ALT,4,workspace,4
 | 
						|
bind=ALT,5,workspace,5
 | 
						|
bind=ALT,6,workspace,6
 | 
						|
bind=ALT,7,workspace,7
 | 
						|
bind=ALT,8,workspace,8
 | 
						|
bind=ALT,9,workspace,9
 | 
						|
bind=ALT,0,workspace,10
 | 
						|
 | 
						|
# Move to Workspace Bindings
 | 
						|
bind=ALTSHIFT,1,movetoworkspace,1
 | 
						|
bind=ALTSHIFT,2,movetoworkspace,2
 | 
						|
bind=ALTSHIFT,3,movetoworkspace,3
 | 
						|
bind=ALTSHIFT,4,movetoworkspace,4
 | 
						|
bind=ALTSHIFT,5,movetoworkspace,5
 | 
						|
bind=ALTSHIFT,6,movetoworkspace,6
 | 
						|
bind=ALTSHIFT,7,movetoworkspace,7
 | 
						|
bind=ALTSHIFT,8,movetoworkspace,8
 | 
						|
bind=ALTSHIFT,9,movetoworkspace,9
 | 
						|
bind=ALTSHIFT,10,movetoworkspace,0
 | 
						|
 | 
						|
## Resizing Windows ##
 | 
						|
binde=SUPER,L,resizeactive,10 0
 | 
						|
binde=SUPER,H,resizeactive,-10 0
 | 
						|
binde=SUPER,K,resizeactive,0 -10
 | 
						|
binde=SUPER,J,resizeactive,0 10
 | 
						|
 | 
						|
binde=SUPERSHIFT,L,resizeactive,50 0
 | 
						|
binde=SUPERSHIFT,H,resizeactive,-50 0
 | 
						|
binde=SUPERSHIFT,K,resizeactive,0 -50
 | 
						|
binde=SUPERSHIFT,J,resizeactive,0 50
 | 
						|
 | 
						|
# Submap to disable all keybinds (for blender)
 | 
						|
bind=ALT,U,submap,clean
 | 
						|
submap=clean
 | 
						|
bind=ALT,U,submap,reset
 | 
						|
submap=reset
 |