From 35c27924e2ee2a40cce69d1c793d3a496741f92f Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Sat, 8 Aug 2020 10:05:55 -0400 Subject: [PATCH] Portal bindings --- g13/portal.bind | 31 +++++++++++++++++++++++++++++++ g13/portal.lpbm | Bin 0 -> 960 bytes i3/desktop.conf | 6 ++++++ 3 files changed, 37 insertions(+) create mode 100644 g13/portal.bind create mode 100644 g13/portal.lpbm diff --git a/g13/portal.bind b/g13/portal.bind new file mode 100644 index 0000000..48845e1 --- /dev/null +++ b/g13/portal.bind @@ -0,0 +1,31 @@ +# Portal +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 +bind G22 KEY_SPACE +bind G20 KEY_RIGHTCTRL +bind G15 KEY_RIGHTCTRL + + +# Pickup/Use Object +bind G6 KEY_E + +# Pause +bind G1 KEY_ESC + +# Ping +bind DOWN KEY_F + +# Gesture (co-op) +bind LEFT KEY_Q + +rgb 61 189 238 diff --git a/g13/portal.lpbm b/g13/portal.lpbm new file mode 100644 index 0000000000000000000000000000000000000000..e69222c18e9556bee0558f85477f177209c0e3da GIT binary patch literal 960 zcmchTF%H5o3`L1LWI^--NVx`6)1%}F9Wzv<5(5hoj2wd-V2O+P2pJhFjFS?S0unI5 zUt)hh+mR=ekJOnRV6&J{XF*ka_Sk*Y_yY(L4GRI%7qF+QEb>)?O6p^o=|KPq2;C-_ zF)+#I7uf8woI`fT#@mdDfQ5}#Wq>`Ak`G-of#g&$ndTMft=5rFAp4Z!;RS!$uGUBD zeU}xUu&nkvbk2 /tmp/g13-0 && sleep .1 && cat ~/.config/g13/fall-guys.lpbm > /tmp/g13-0 +# Portal +for_window [class="hl2_linux" title="Portal - OpenGL"] move to workspace $wsGames +for_window [class="hl2_linux" title="Portal - OpenGL"] exec --no-startup-id cat ~/.config/g13/portal.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/portal.lpbm > /tmp/g13-0 +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 + # 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