https://github.com/salkin-mada/lsparu
fzf cli for paru
https://github.com/salkin-mada/lsparu
archlinux cli fzf paru tui
Last synced: about 1 year ago
JSON representation
fzf cli for paru
- Host: GitHub
- URL: https://github.com/salkin-mada/lsparu
- Owner: salkin-mada
- Created: 2021-10-19T20:20:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-22T00:23:26.000Z (over 4 years ago)
- Last Synced: 2025-03-24T04:01:40.545Z (about 1 year ago)
- Topics: archlinux, cli, fzf, paru, tui
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# [lsparu](https://github.com/salkin-mada/lsparu)
A [fzf](https://github.com/junegunn/fzf) TUI for [paru](https://github.com/Morganamilo/paru)
Latest Release 1.0.0
# Usage
```text
❯ ./lsparu -h
╔════════════════════╗
║░ lsparu ░║
╚════════════════════╝
usage: lsparu -sqrmfy {args} -hv
path: /usr/bin/lsparu
-s, -style select [(l|light)|(m|mono)(p|paper)]
-q, -query input starting search query
-r, -repository browse a specific repo [core|extra|community|aur]
-m, -margin set the margin 10|2,5|5,3,8|1,5,2,3
-h, -help show this help
-v, -version get lsparu version
ctrl-space toggle package
ctrl-d deselect-all
ctrl-l clear-query
ctrl-p toggle-preview
ctrl-w toggle-preview-wrap
shift-up preview-up
shift-down preview-down
shift-left preview-page-up
shift-right preview-page-down
ctrl-s see package stats
ctrl-u list updatable packages
ctrl-n read the news
ctrl-g get info about installed packages
enter install package(s)
esc leave, do nothing
tab toggle package and move pointer down
shift-tab toggle package and move pointer up
ctrl-h list keybindings (help)
```
# Requirements
- [fzf](https://github.com/junegunn/fzf)
- [paru](https://github.com/morganamilo/paru)
- bash
# Installation
## Arch Linux
```
paru -S lsparu
```
## From Source
```sh
git clone https://github.com/salkin-mada/lsparu.git
cd lsparu
sudo make install
```
## Direct Download
```sh
wget -O ~/.local/bin/lsparu https://raw.githubusercontent.com/salkin-mada/lsparu/main/lsparu
chmod +x ~/.local/bin/lsparu
```