#!/usr/bin/env bash FOLDER=$(zoxide query --list |fzf --preview="(tmux ls |grep -i {q}) && git -C {} status" --preview-window="bottom") if [ -n "${FOLDER}" ]; then swaymsg exec -- foot -D "${FOLDER}" "tn" fi