diff --git a/g13/factorio.bind b/g13/factorio.bind new file mode 100644 index 0000000..a27eb8b --- /dev/null +++ b/g13/factorio.bind @@ -0,0 +1,47 @@ +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 screen / Confirm Window +bind G5 KEY_E + +# Clear cursor / Pipette tool +bind G3 KEY_Q + +# Rotate +bind G6 KEY_R + +# Flip blueprints horizontal / Pickup ground item +bind G13 KEY_F + +# Flip blueprints vertical +bind G14 KEY_G + +# Drop Item +bind G16 KEY_Z + +# Shoot selected +bind G18 KEY_C + +# +bind STICK_UP KEY_1 +bind STICK_RIGHT KEY_2 +bind STICK_DOWN KEY_3 +bind STICK_LEFT KEY_4 +bind DOWN KEY_ + +# Other +bind G22 KEY_SPACE +bind G15 KEY_LEFTSHIFT +bind G20 KEY_LEFTCTRL + +# Character Movement +bind G4 KEY_W +bind G10 KEY_A +bind G11 KEY_S +bind G12 KEY_D + +rgb 230 145 0 diff --git a/g13/factorio.lpbm b/g13/factorio.lpbm new file mode 100644 index 0000000..5ef6ab2 Binary files /dev/null and b/g13/factorio.lpbm differ diff --git a/i3/desktop.conf b/i3/desktop.conf index 3e5bc86..95f920a 100644 --- a/i3/desktop.conf +++ b/i3/desktop.conf @@ -31,6 +31,7 @@ bindsym $mod+F1 mode "$g13" exec_always --no-startup-id g13d --config ~/.config/g13/resolve.bind --logo ~/.config/g13/resolve.lpbm & # Startup programs +exec --no-startup-id "workspace $10" exec --no-startup-id "workspace $15; exec flatpak run org.signal.Signal" # Starts Jack for audio @@ -107,6 +108,10 @@ for_window [class="Minecraft*" title="Minecraft*"] exec --no-startup-id cat ~/.c for_window [class="steam_app_208650" title="*"] move to workspace $wsGames for_window [class="steam_app_208650" title="*"] exec --no-startup-id cat ~/.config/g13/arkham-knight.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/arkham-knight.lpbm > /tmp/g13-0 +# Factorio +for_window [class="factorio" title="Factorio*"] move to workspace $wsGames +for_window [class="factorio" title="Factorio*"] exec --no-startup-id cat ~/.config/g13/factorio.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/factorio.lpbm > /tmp/g13-0 + # The side buttons move the desktop around bindsym --whole-window button9 exec --no-startup-id python3 ~/.config/scripts/i3-mouse.py back bindsym --whole-window button8 exec --no-startup-id python3 ~/.config/scripts/i3-mouse.py forward