made the project picker just even better
This commit is contained in:
		
							parent
							
								
									620a030a16
								
							
						
					
					
						commit
						63500cd8cc
					
				@ -12,7 +12,7 @@ if [[ $(basename "$FULL_DIR") == $(basename "$SRC_BASE") ]]; then
 | 
				
			|||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
foot --working-directory="$FULL_DIR" >/dev/null 2>&1 &
 | 
					foot --working-directory="$FULL_DIR" >/dev/null 2>&1 &
 | 
				
			||||||
sleep 0.2
 | 
					sleep 0.15
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FFLINKS_FILE="$FULL_DIR/.fflinks"
 | 
					FFLINKS_FILE="$FULL_DIR/.fflinks"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -21,13 +21,12 @@ if [[ -f "$FFLINKS_FILE" ]]; then
 | 
				
			|||||||
  swaymsg "splitv"
 | 
					  swaymsg "splitv"
 | 
				
			||||||
  URLS=$(awk '{ printf "\"%s\" ", $0 }' $FFLINKS_FILE)
 | 
					  URLS=$(awk '{ printf "\"%s\" ", $0 }' $FFLINKS_FILE)
 | 
				
			||||||
  echo "$URLS" | xargs firefox &
 | 
					  echo "$URLS" | xargs firefox &
 | 
				
			||||||
  sleep 0.2
 | 
					  sleep 0.15
 | 
				
			||||||
  # firefox $URLS
 | 
					  # firefox $URLS
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
swaymsg "focus parent; splith"
 | 
					swaymsg "focus parent; splith"
 | 
				
			||||||
foot --working-directory="$FULL_DIR" >/dev/null 2>&1 &
 | 
					foot --working-directory="$FULL_DIR" hx >/dev/null 2>&1 &
 | 
				
			||||||
 | 
					sleep 0.15
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Convert the ~ to the full path
 | 
					swaymsg "focus left; focus parent; resize shrink width 400px; focus right"
 | 
				
			||||||
 | 
					 | 
				
			||||||
# Open two foot terminals in the specified directory
 | 
					 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user