summaryrefslogtreecommitdiffstatshomepage
path: root/tmux/.local/bin
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-07-18 14:36:19 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-07-18 14:36:19 -0500
commit3245075ab837b252d0cab7fedabd803e3cb7ed9e (patch)
tree01b7b46ac87f9725e5f489d1257b6f20d7fb5627 /tmux/.local/bin
parentd1cd0078df313337af17d0be064a8e11c38c4b8c (diff)
fix(tmux): hide preview on small displays
Diffstat (limited to 'tmux/.local/bin')
-rwxr-xr-xtmux/.local/bin/tmux-projectr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux/.local/bin/tmux-projectr b/tmux/.local/bin/tmux-projectr
index 082bba4..d32aa9c 100755
--- a/tmux/.local/bin/tmux-projectr
+++ b/tmux/.local/bin/tmux-projectr
@@ -10,7 +10,7 @@ if [ "$#" -eq 0 ]; then
projectr -mgt ~/src ~/pkg ~/dkr ~/doc -P ~/.dotfiles --exclude-cwd |
fzf-tmux "$FZF_TMUX_OPTS" -- --tac --select-1 --exit-0 -d/ --with-nth 4.. \
--bind 'focus:transform-header(echo {})' \
- --preview-window='right,75%,<80(up,75%,border-bottom)' --preview="$PREVIEW_CMD"
+ --preview-window='right,75%,<80(hidden)' --preview="$PREVIEW_CMD"
)
test -n "$1" || exit 0