Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 4344607

Browse files
author
excalibur1234
committed
fix preview window width
1 parent e378ec0 commit 4344607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pacui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1936,7 +1936,7 @@ function func_ls
19361936
expac -H M -Q "%12m - \e[1m%n\e[0m" $( pacman -Qq | sort) | sort -n -r | fzf -i --multi --exact --no-sort --ansi --reverse --bind=right:half-page-down,left:half-page-up --margin=4%,1%,1%,1% --info=inline --no-unicode --preview '
19371937
echo -e "\e[1mInstalled package info: \e[0m"
19381938
pacman -Qi {4} --color always
1939-
' "$( if (( $(tput cols) >= 125 )); then echo "--preview-window=right:70%:wrap"; else echo "--preview-window=bottom:60%:wrap"; fi )" --header="Navigate with PageUp / PageDown. ESC to quit." --prompt='Enter string to filter list > ' > /tmp/pacui-ls
1939+
' "$( if (( $(tput cols) >= 125 )); then echo "--preview-window=right:60%:wrap"; else echo "--preview-window=bottom:60%:wrap"; fi )" --header="Navigate with PageUp / PageDown. ESC to quit." --prompt='Enter string to filter list > ' > /tmp/pacui-ls
19401940
# alternative command to "expac" and "sort": package-query -Qe --rsort 2 -f "%2 - \e[1m%n \e[0m%v" | numfmt --to=iec
19411941

19421942
#set -e

0 commit comments

Comments
 (0)