Fall Guys binding

This commit is contained in:
Christian Colglazier 2020-08-07 16:28:40 -04:00
parent 93aedd616d
commit c7b65101f7
3 changed files with 34 additions and 1 deletions

28
g13/fall-guys.bind Normal file
View File

@ -0,0 +1,28 @@
# Fall Guys
stickzone del STICK_PAGEUP
stickzone del STICK_PAGEDOWN
stickzone bounds STICK_LEFT 0.0 0.3 0.2 0.7
stickzone bounds STICK_RIGHT 0.8 0.3 1.0 0.7
stickzone bounds STICK_UP 0.3 0.0 0.7 0.2
stickzone bounds STICK_DOWN 0.3 0.8 0.7 1.0
# Character Movement
bind G4 KEY_W
bind G10 KEY_A
bind G11 KEY_S
bind G12 KEY_D
# Jump
bind G22 KEY_SPACE
# Dive
bind G15 KEY_RIGHTCTRL
# Grab
bind LEFT KEY_LEFTSHIFT
# Show names
bind DOWN KEY_TAB
rgb 0 128 180

BIN
g13/fall-guys.lpbm Normal file

Binary file not shown.

View File

@ -22,10 +22,11 @@ mode "$g13" {
bindsym 1 exec --no-startup-id cat ~/.config/g13/overwatch.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/overwatch.lpbm > /tmp/g13-0; mode "default"
bindsym 2 exec --no-startup-id cat ~/.config/g13/resolve.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/resolve.lpbm > /tmp/g13-0; mode "default"
bindsym 3 exec --no-startup-id cat ~/.config/g13/planet-coaster.bind > /tmp/g13-0 && sleep 0.1 && cat ~/.config/g13/planet-coaster.lpbm > /tmp/g13-0; mode "default"
bindsym 4 exec --no-startup-id cat ~/.config/g13/fall-guys.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/fall-guys.lpbm > /tmp/g13-0; mode "default"
bindsym Escape mode "default"
bindsym Return mode "default"
}
set $g13 G13 Profile: [1] Overwatch [2] Resolve [3] Planet Coaster
set $g13 G13 Profile: [1] Overwatch [2] Resolve [3] Planet Coaster [4] Fall Guys
bindsym $mod+F1 mode "$g13"
exec_always --no-startup-id g13d --config ~/.config/g13/resolve.bind --logo ~/.config/g13/resolve.lpbm &
@ -68,6 +69,10 @@ for_window [class="^Steam$"] move to workspace $wsGames
assign [class="^Show-splash-gtk$"] $wsBitwig
assign [class="^Bitwig Studio$"] $wsBitwig
# Fall Guys
for_window [title="FallGuys_client"] move to workspace $wsGames
for_window [title="FallGuys_client"] exec --no-startup-id cat ~/.config/g13/fall-guys.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/fall-guys.lpbm > /tmp/g13-0
# The side buttons move the desktop around
bindsym --whole-window button9 exec python3 ~/.config/scripts/i3-mouse.py back
bindsym --whole-window button8 exec python3 ~/.config/scripts/i3-mouse.py forward