summaryrefslogtreecommitdiff
path: root/bin/fpac
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2020-11-01 09:32:20 +0100
committerMarc Vertes <mvertes@free.fr>2020-11-01 09:32:20 +0100
commit3bb7e9d0b1d7bc406bd2361f7484d4484eb483b1 (patch)
tree9735fd2e0a2bf83cec9068b453fb9bdf2e7e2378 /bin/fpac
parentaa1f45e33a957098615eca24d0b1b26c03b0eb57 (diff)
update
Diffstat (limited to 'bin/fpac')
-rwxr-xr-xbin/fpac8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/fpac b/bin/fpac
index db30d36..6207191 100755
--- a/bin/fpac
+++ b/bin/fpac
@@ -1,3 +1,9 @@
#!/bin/sh
# pacman + fzf
-pacman -Slq | fzf --no-clear --multi --preview 'cat <(pacman -Si {1}) <(pacman -Fl {1} | awk "{print \$2}")' | xargs -ro sudo pacman -S
+#pacman -Slq | fzf --no-clear --multi --preview 'cat <(pacman -Si {1}) <(pacman -Fl {1} | awk "{print \$2}")' | xargs -ro sudo pacman -S
+pacman -Slq |
+fzf --no-clear --multi \
+ --bind=left:preview-page-up --bind=right:preview-page-down \
+ --preview-window=right:66% \
+ --preview 'cat <(pacman -Si {1}) <(pacman -Fl {1} 2>/dev/null | awk "! /\/$/ {print \$2}")' |
+xargs -ro sudo pacman -S