59 lines
1001 B
Bash
Executable File
59 lines
1001 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# GUI Programs
|
|
# run the 02_setup_programs.sh first
|
|
|
|
installed() {
|
|
if command -v "$1" >/dev/null 2>&1; then
|
|
return 0
|
|
fi
|
|
return 1
|
|
}
|
|
|
|
# brave
|
|
if ! installed "brave"; then
|
|
yay -S --noconfirm brave-bin
|
|
fi
|
|
|
|
# obsidian
|
|
if ! installed "obsidian"; then
|
|
sudo pacman -S --noconfirm obsidian
|
|
fi
|
|
|
|
# keepassxc
|
|
if ! installed "keepassxc"; then
|
|
sudo pacman -S --noconfirm keepassxc
|
|
fi
|
|
|
|
# syncthing
|
|
if ! installed "syncthing"; then
|
|
sudo pacman -S --noconfirm syncthing
|
|
systemctl --user enable syncthing
|
|
systemctl --user start syncthing
|
|
fi
|
|
|
|
# libreoffice
|
|
if ! installed "libreoffice"; then
|
|
sudo pacman -S --noconfirm libreoffice-still
|
|
fi
|
|
|
|
# inkscape
|
|
if ! installed "inkscape"; then
|
|
sudo pacman -S --noconfirm inkscape
|
|
fi
|
|
|
|
# gimp
|
|
if ! installed "gimp"; then
|
|
sudo pacman -S --noconfirm gimp
|
|
fi
|
|
|
|
# audacity
|
|
if ! installed "audacity"; then
|
|
sudo pacman -S --noconfirm audacity
|
|
fi
|
|
|
|
# davinci resolve
|
|
#if ! installed "davinci-resolve" ; then
|
|
#yay -S --noconfirm davinci-resolve
|
|
#fi
|