dots

git clone git://mattcarlson.org/repos/dots.git
Log | Files | Refs

commit 6b44426288aac14961c56c84ca4f44183f1200ba
parent 06131df9f0a5f68a4b4e36eaca58afcabc64b884
Author: Matthew Carlson <matt@mcarlson.xyz>
Date:   Thu, 29 Jul 2021 00:01:59 -0400

ytfzf

Diffstat:
M.config/sh/profile | 2++
A.config/ytfzf/ytfzf.sh | 21+++++++++++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/.config/sh/profile b/.config/sh/profile @@ -33,6 +33,8 @@ export GNUPGHOME="${XDG_DATA_HOME:-${HOME}/.local/share}/gnupg/" export ENV="${XDG_CONFIG_HOME:-${HOME}/.config}/mksh/mkshrc" export HISTFILE='' export XAUTHORITY="${XDG_RUNTIME_DIR}/xauth" +export YTFZF_CONFIG_DIR="${XDG_CONFIG_HOME:-${HOME}/.config}/ytfzf/" +export YTFZF_CONFIG_FILE="${YTFZF_CONFIG_DIR}/ytfzf.sh" # folders export DEV_DIR="${HOME}/dev/" diff --git a/.config/ytfzf/ytfzf.sh b/.config/ytfzf/ytfzf.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# ytfzf.sh + +# env vars +YTFZF_CUR=1 +YTFZF_ENABLE_FZF_DEFAULT_OPTS=1 +YTFZF_HIST=0 +YTFZF_NOTI=0 + +# opt vars +enable_search_hist_menu=0 +show_thumbnails=1 +search_again=1 +preview_side="right" +sort_videos_data=1 +enable_search_hist=0 +allow_empty_search_hist=0 + +# fzf default opts +FZF_DEFAULT_OPTS="--color fg:7,preview-fg:2,hl:2,fg+:0,bg+:2,gutter:2,hl+:7,info:2,border:2,prompt:2,pointer:2,marker:2,spinner:2,header:2"