Hiden preview-window for small screens (press ?); Moved default fzf options

This commit is contained in:
localhost_frssoft 2023-06-16 20:54:29 +03:00
parent f97fd0b2d0
commit bdebbcf2b3
2 changed files with 1 additions and 2 deletions

View file

@ -16,6 +16,7 @@ from shlex import quote
from shutil import get_terminal_size
from pyfzf.pyfzf import FzfPrompt
os.environ['FZF_DEFAULT_OPTS'] = "--margin 2,0,0,0 --preview-window down:2:hidden:wrap --bind ?:toggle-preview --preview 'echo {}'"
fzf = FzfPrompt()
os.system('clear')

View file

@ -8,9 +8,7 @@ from shlex import quote
import mpv
import time
import re
import os
os.environ['FZF_DEFAULT_OPTS'] = '--margin 2,0,0,0'
fzf = FzfPrompt()
if get_config('enable_persistent_cache'):