mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-24 00:21:26 +00:00
Hiden preview-window for small screens (press ?); Moved default fzf options
This commit is contained in:
parent
f97fd0b2d0
commit
bdebbcf2b3
|
@ -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')
|
||||
|
|
|
@ -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'):
|
||||
|
|
Loading…
Reference in a new issue