Add programs to void script.

This commit is contained in:
Érico Rolim 2020-01-24 17:39:32 -03:00
parent fd1ff9dc22
commit e3f1833d74
1 changed files with 17 additions and 0 deletions

View File

@ -20,6 +20,7 @@ function wm () {
grim \
jq \
liberation-fonts-ttf \
mako \
redshift \
slurp \
sway \
@ -119,6 +120,22 @@ function pdf () {
xbps-install -S zathura zathura-pdf-poppler
}
function flatpak () {
sudo xbps-install -S \
flatpak \
xdg-desktop-portal \
xdg-desktop-portal-gtk \
xdg-user-dirs \
xdg-user-dirs-gtk \
xdg-utils
}
function arm-none () {
sudo xbps-install -S \
cross-arm-none-eabi \
cross-arm-none-eabi-gdb
}
# Run function from script:
# https://stackoverflow.com/questions/8818119/how-can-i-run-a-function-from-a-script-in-command-line
# Check if the function exists (bash specific)