From c596064b449ceb9a6268cb1b362f51ddf79768d2 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Sat, 24 Apr 2021 10:59:47 -0400 Subject: [PATCH] Minecraft bindings --- g13/minecraft.bind | 21 +++++++++++++++++++++ g13/minecraft.lpbm | Bin 0 -> 960 bytes i3/desktop.conf | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 g13/minecraft.bind create mode 100644 g13/minecraft.lpbm diff --git a/g13/minecraft.bind b/g13/minecraft.bind new file mode 100644 index 0000000..bd59d9a --- /dev/null +++ b/g13/minecraft.bind @@ -0,0 +1,21 @@ +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 + +# Other +bind G5 KEY_E +bind G1 KEY_ESC +bind G22 KEY_SPACE +bing G15 KEY_LEFTSHIFT +bind LEFT KEY_TAB + +rgb 128 255 31 diff --git a/g13/minecraft.lpbm b/g13/minecraft.lpbm new file mode 100644 index 0000000000000000000000000000000000000000..8375604349deb395fb04d235827bd8714a88c069 GIT binary patch literal 960 zcmdUsF>Zq}6o&0U@KO~^T^LZz5rR5&X=O2GBHHzHMW{rsLO zM`-`yz0dz|!;{U}ztH%a@Svousv<)+Z)Dy?439a|Rbl51$BXxyd*Szn2 z@yfrTdeJ8iw{R9c(=>;Vcy;!X1CI0PH679RBO}*A9WPo&uvqf8LQBb)GeIEtWf?fnk<2k8d} /tmp/g13-0 && sleep .1 && cat ~/.config/g13/two-point-hospital.lpbm > /tmp/g13-0 + +# Minecraft +for_window [class="Minecraft*" title="Minecraft*"] move to workspace $wsGames +for_window [class="Minecraft*" title="Minecraft*"] exec --no-startup-id cat ~/.config/g13/minecraft.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/minecraft.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