#!/bin/fish set cwd $(pwd) # if zi navigated to ~, then navigate to cwd /sbin/kitty -1 --instance-group niri --app-id zi-kitty-picker --hold fish -C """ niri msg action center-column; cd ( _ZO_FZF_OPTS='--exact --no-sort --bind=ctrl-z:ignore,btab:up,tab:down --cycle --keep-right --layout=reverse --height=100% --border --scrollbar=▌ --info=inline --tabstop=1 --exit-0' zoxide query --interactive); test (pwd) = ~; and cd $cwd; niri msg action set-column-width 66.6667%; niri msg action center-column; """