From dfe17905246e6d2ecf4c1dfc4f860d13958a09f5 Mon Sep 17 00:00:00 2001 From: itspngu <34752364+itspngu@users.noreply.github.com> Date: Tue, 22 Dec 2020 13:17:17 +0100 Subject: clean up UI, allow overriding fzf default prompt, update readme --- sway-launcher-desktop.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sway-launcher-desktop.sh') diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index d9e6b0b..859f25d 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -256,10 +256,13 @@ for PROVIDER_NAME in "${!PROVIDERS[@]}"; do done COMMAND_STR=$( - fzf +s -x -d '\034' --nth ..3 --with-nth 3 \ + fzf --ansi +s -x -d '\034' --nth ..3 --with-nth 3 \ --preview "$0 describe {2} {1}" \ - --preview-window=up:3:wrap --ansi \ - --no-info --margin="3%" --cycle \ + --preview-window=up:2:noborder \ + --no-mouse --no-multi --cycle \ + --prompt="${GLYPH_PROMPT-# }" \ + --header='' --no-info --margin='1,2' \ + --color='16,gutter:-1' \ <"$FZFPIPE" ) || exit 1 -- cgit v1.2.3