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
|
||||
|
||||
foot --working-directory="$FULL_DIR" >/dev/null 2>&1 &
|
||||
sleep 0.2
|
||||
sleep 0.15
|
||||
|
||||
FFLINKS_FILE="$FULL_DIR/.fflinks"
|
||||
|
||||
@ -21,13 +21,12 @@ if [[ -f "$FFLINKS_FILE" ]]; then
|
||||
swaymsg "splitv"
|
||||
URLS=$(awk '{ printf "\"%s\" ", $0 }' $FFLINKS_FILE)
|
||||
echo "$URLS" | xargs firefox &
|
||||
sleep 0.2
|
||||
sleep 0.15
|
||||
# firefox $URLS
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
# Open two foot terminals in the specified directory
|
||||
swaymsg "focus left; focus parent; resize shrink width 400px; focus right"
|
||||
|
Loading…
Reference in New Issue
Block a user