mirror of
				https://github.com/AquaMorph/dotfiles.git
				synced 2025-11-04 01:03:19 +00:00 
			
		
		
		
	Add Factorio binding
This commit is contained in:
		
							
								
								
									
										47
									
								
								g13/factorio.bind
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								g13/factorio.bind
									
									
									
									
									
										Normal file
									
								
							@@ -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
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								g13/factorio.lpbm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								g13/factorio.lpbm
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -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 &
 | 
					exec_always --no-startup-id g13d --config ~/.config/g13/resolve.bind --logo ~/.config/g13/resolve.lpbm &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Startup programs
 | 
					# Startup programs
 | 
				
			||||||
 | 
					exec --no-startup-id "workspace $10"
 | 
				
			||||||
exec --no-startup-id "workspace $15; exec flatpak run org.signal.Signal"
 | 
					exec --no-startup-id "workspace $15; exec flatpak run org.signal.Signal"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Starts Jack for audio
 | 
					# 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="*"] 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
 | 
					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
 | 
					# 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 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
 | 
					bindsym --whole-window button8 exec --no-startup-id python3 ~/.config/scripts/i3-mouse.py forward
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user