Part of the Void Linux project.
xtools is a collection of small utilities in the form of shell scripts for use with XBPS consisting of shell scripts providing more utility out of the existing XBPS binaries.
Instead of just shortening commands, they provide more utility to your system.
A good example is considering xmandoc which can give you man pages in the tty without having to access any extermal utility like search engines, archwiki or even Void's website.
Below are some of my favorite ones:
xcheckrestart [-v]
– list programs using outdated libraries
-v verbose mode, also print the library names
xi pkgs ...
– like ‘xbps-install -S’, but take cwd repo and sudo/su into account
xlocate
[-g | -S | pattern] – locate files in all XBPS packages
-g Update a git based xlocate database, useful for local
repositories
-S Sync with the official git based xlocate database, which is
recommended before using the tool
xls pkg ...
– list files contained in pkg (including binpkgs)
xmandoc manpage
– read manpage of possibly not installed package
xmksv [newsvdir]
– create new runit service templates
xpkg [-R repo [-r rootdir [-amOHDvV]]]
– convenient package lister
-R repo
consider only packages from repo
-r rootdir
specifies a full path for the target root directory
-a list all packages (default: only installed)
-m list manual packages
-O list orphaned packages
-H list packages on hold
-D list installed packages not in repo
-L list installed packages not from remote repos
-v show version numbers
-V show version numbers and description
xrs pattern
– like xbps-query -Rs, but take cwd repo into account
xsrc pkg
– list source files for XBPS template
xuname
– display system info relevant for debugging Void
xvoidstrap dir [packages]
– bootstrap a new Void installation
I even went as far as writing my own! xrm is a simple wrapper around xbps-remove that removes packages from the system saving you the effort of escalating your privledges with sudo or doas.
$ xrm package $ xrm -oORy package $ xrm --remove-orphans --clean-cache --recursive --yes package
To install it with one command, i recommend running this curl command.
curl -O https://sm-idk.me/d/xrm && chmod +x xrm && sudo mv xrm /bin/