diff --git a/g13/two-point-hospital.bind b/g13/two-point-hospital.bind new file mode 100644 index 0000000..59ae3c5 --- /dev/null +++ b/g13/two-point-hospital.bind @@ -0,0 +1,23 @@ +# Two Point Hospital + +# Setup stick bounds +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 + +# Camera Movement +bind G4 KEY_W +bind G10 KEY_A +bind G11 KEY_S +bind G12 KEY_D +bind G3 KEY_Q +bind G5 KEY_E + +# Rotate objects +bind STICK_LEFT KEY_Z +bind STICK_RIGHT KEY_X + +rgb 12 167 145 diff --git a/g13/two-point-hospital.lpbm b/g13/two-point-hospital.lpbm new file mode 100644 index 0000000..59ed4f2 Binary files /dev/null and b/g13/two-point-hospital.lpbm differ diff --git a/i3/desktop.conf b/i3/desktop.conf index c650f0d..0441ee5 100644 --- a/i3/desktop.conf +++ b/i3/desktop.conf @@ -79,6 +79,10 @@ for_window [class="hl2_linux" title="Portal - OpenGL"] exec --no-startup-id cat for_window [class="portal2_linux" title="PORTAL 2 - OpenGL"] move to workspace $wsGames for_window [class="portal2_linux" title="PORTAL 2 - OpenGL"] exec --no-startup-id cat ~/.config/g13/portal.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/portal.lpbm > /tmp/g13-0 +# Two Point Hospital +for_window [class="TPH.x86_64" title="Two Point Hospital"] move to workspace $wsGames +for_window [class="TPH.x86_64" title="Two Point Hospital"] exec --no-startup-id cat ~/.config/g13/two-point-hospital.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/two-point-hospital.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