2024-09-12 21:17:04 +00:00
|
|
|
function deploySoftware -d "Deploys a the specified software action" -a action
|
|
|
|
set -l dir (status dirname)
|
|
|
|
. "$dir/software.fish"
|
|
|
|
|
|
|
|
if [ -z "$action" ]
|
|
|
|
set action "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
set -l isInstall (
|
|
|
|
if [ "$action" = "install" ]
|
|
|
|
echo true
|
|
|
|
else
|
|
|
|
echo false
|
|
|
|
end
|
|
|
|
)
|
|
|
|
|
2024-09-19 23:39:52 +00:00
|
|
|
if isEnabled valhalla.linux.secureBoot
|
2024-09-19 22:56:56 +00:00
|
|
|
source "$dir/../Config/SecureBoot/main.fish" $argv
|
|
|
|
end
|
|
|
|
|
2024-09-20 00:01:22 +00:00
|
|
|
and if isEnabled valhalla.linux.hardware.surfaceBook
|
|
|
|
source "$dir/../Drivers/SurfaceBook2/main.fish" $argv
|
|
|
|
end
|
|
|
|
|
|
|
|
and if isEnabled valhalla.linux.hardware.nvidiaGPU
|
|
|
|
source "$dir/../Software/nvidia-dkms/main.fish" $argv
|
|
|
|
end
|
|
|
|
|
|
|
|
and if isEnabled valhalla.linux.hardware.xoneReceiver
|
|
|
|
source "$dir/../Software/xone/main.fish" $argv
|
|
|
|
end
|
|
|
|
|
2024-09-19 23:39:52 +00:00
|
|
|
and if isEnabled valhalla.windows.dualboot.enable && $isInstall
|
|
|
|
yayinst bt-dualboot
|
|
|
|
end
|
|
|
|
|
2024-09-19 22:56:56 +00:00
|
|
|
and if collectionActive essential
|
2024-09-12 21:17:04 +00:00
|
|
|
if $isInstall
|
|
|
|
yayinst \
|
|
|
|
mkinitcpio-firmware \
|
|
|
|
neofetch \
|
|
|
|
bash-completion \
|
|
|
|
wget \
|
|
|
|
screen \
|
|
|
|
tmux \
|
|
|
|
htop \
|
|
|
|
lsof \
|
|
|
|
zsh \
|
|
|
|
fish \
|
|
|
|
pkgfile \
|
|
|
|
sl \
|
|
|
|
rar
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and sudo pkgfile --update
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../../Common/Software/bash/main.fish" $argv
|
2024-09-19 19:23:16 +00:00
|
|
|
and source "$dir/../Software/sudo/main.fish" $argv
|
2024-09-19 19:58:30 +00:00
|
|
|
and source "$dir/../Software/aliae/main.fish" $argv
|
|
|
|
and source "$dir/../Software/Oh My Posh/main.fish" $argv
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../Software/openssh/main.fish" $argv
|
|
|
|
and source "$dir/../Software/vim/main.fish" $argv
|
|
|
|
and source "$dir/../Software/git/main.fish" $argv
|
|
|
|
and source "$dir/../Software/zoxide/main.fish" $argv
|
|
|
|
and source "$dir/../Software/logo-ls/main.fish" $argv
|
2024-09-12 21:17:04 +00:00
|
|
|
|
|
|
|
# GRUB Shenanigans - if that's not essential I don't know what is!
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../Software/minegrub-theme/main.fish" $argv
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive common
|
2024-09-12 21:17:04 +00:00
|
|
|
if $isInstall
|
|
|
|
yayinst \
|
|
|
|
tldr \
|
|
|
|
btop \
|
|
|
|
terminal-parrot
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive desktopExperience
|
2024-09-13 15:36:29 +00:00
|
|
|
source "$dir/../Software/KDE/main.fish" $argv
|
|
|
|
and source "$dir/../Software/sddm/main.fish" $argv
|
2024-09-13 12:54:30 +00:00
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if $isInstall
|
2024-09-12 21:17:04 +00:00
|
|
|
yayinst \
|
|
|
|
maliit-keyboard \
|
|
|
|
dconf-editor \
|
|
|
|
flatpak (
|
|
|
|
# Fixes: https://www.reddit.com/r/flatpak/comments/168tav2/how_to_fix_blurry_flatpaks_on_high_resolution/
|
|
|
|
) xdg-desktop-portal-gtk
|
|
|
|
|
|
|
|
# Fonts
|
2024-09-13 13:10:29 +00:00
|
|
|
and yayinst \
|
2024-09-12 21:17:04 +00:00
|
|
|
ttf-cascadia-code-nerd \
|
|
|
|
ttf-ms-win11-auto \
|
|
|
|
otf-cascadia-code \
|
|
|
|
ttf-droid
|
|
|
|
|
|
|
|
# Password Management
|
2024-09-13 13:10:29 +00:00
|
|
|
and yayinst \
|
2024-09-12 21:17:04 +00:00
|
|
|
bitwarden \
|
|
|
|
keepass \
|
|
|
|
keepassxc
|
|
|
|
|
|
|
|
# Tools
|
2024-09-13 13:10:29 +00:00
|
|
|
and yayinst \
|
2024-09-12 21:17:04 +00:00
|
|
|
android-tools \
|
|
|
|
blackbox-terminal \
|
|
|
|
cpu-x \
|
|
|
|
gnome-calculator \
|
|
|
|
yubikey-manager-qt \
|
|
|
|
wireshark-qt \
|
|
|
|
linux-wifi-hotspot
|
|
|
|
|
|
|
|
# Remote Access
|
2024-09-13 13:10:29 +00:00
|
|
|
and yayinst \
|
2024-09-12 21:17:04 +00:00
|
|
|
remmina (
|
|
|
|
# RDP support for Remmina
|
|
|
|
) freerdp
|
|
|
|
|
|
|
|
# Creativity
|
2024-09-13 13:10:29 +00:00
|
|
|
and yayinst \
|
2024-09-12 21:17:04 +00:00
|
|
|
gimp \
|
|
|
|
inkscape
|
|
|
|
|
|
|
|
# Office stuff
|
2024-09-13 13:10:29 +00:00
|
|
|
and yayinst \
|
2024-09-12 21:17:04 +00:00
|
|
|
libreoffice-fresh \
|
|
|
|
naps2-bin \
|
|
|
|
pdfarranger \
|
|
|
|
protonmail-bridge \
|
|
|
|
thunderbird
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and yayinst \
|
2024-09-12 21:17:04 +00:00
|
|
|
texlive \
|
|
|
|
texlive-langgerman
|
|
|
|
|
|
|
|
# Virtualization
|
2024-09-13 13:10:29 +00:00
|
|
|
and yayinst propertree-git # mac .plist config file editor
|
2024-09-12 21:17:04 +00:00
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive school
|
2024-09-12 21:17:04 +00:00
|
|
|
yayinst \
|
|
|
|
teams-for-linux \
|
|
|
|
xournalpp-git \
|
|
|
|
rnote
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Internet Access
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../Software/Firefox/main.fish" $argv
|
|
|
|
and source "$dir/../Software/brave/main.fish" $argv
|
|
|
|
and source "$dir/../Software/Pennywise/main.fish" $argv
|
2024-09-12 21:17:04 +00:00
|
|
|
|
|
|
|
# Virtualization
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../Software/waydroid/main.fish" $argv
|
|
|
|
and source "$dir/../Software/Virtual Machine Manager/main.fish" $argv
|
2024-09-12 21:17:04 +00:00
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive coding
|
2024-09-12 21:17:04 +00:00
|
|
|
if $isInstall
|
|
|
|
yayinst \
|
|
|
|
devdocs-desktop \
|
2024-09-13 12:53:46 +00:00
|
|
|
godot-mono
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../Software/vscode/main.fish" $argv
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive server
|
2024-09-12 21:17:04 +00:00
|
|
|
else
|
|
|
|
if $isInstall
|
|
|
|
# Energy Saving
|
|
|
|
yayinst power-profiles-daemon
|
2024-09-13 13:10:29 +00:00
|
|
|
and sudo systemctl enable --now power-profiles-daemon
|
2024-09-12 21:17:04 +00:00
|
|
|
|
|
|
|
# Networking
|
2024-09-13 13:10:29 +00:00
|
|
|
and yayinst \
|
2024-09-12 21:17:04 +00:00
|
|
|
networkmanager-openvpn \
|
|
|
|
networkmanager-openconnect \
|
2024-09-13 12:53:46 +00:00
|
|
|
proton-vpn-gtk-app \
|
|
|
|
protonvpn-cli-community
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive common
|
2024-09-12 21:17:04 +00:00
|
|
|
if $isInstall
|
2024-09-13 13:10:29 +00:00
|
|
|
and yayinst \
|
2024-09-12 21:17:04 +00:00
|
|
|
img2pdf \
|
|
|
|
numbat-bin \
|
|
|
|
nvtop \
|
|
|
|
pdf2svg \
|
|
|
|
tnef
|
|
|
|
end
|
|
|
|
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../Software/IcedTea/main.fish" $argv
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive media && $isInstall
|
2024-09-12 21:17:04 +00:00
|
|
|
yayinst \
|
|
|
|
ytmdesktop-bin \
|
|
|
|
netflix \
|
|
|
|
spotube-bin \
|
|
|
|
stremio \
|
2024-09-13 12:53:46 +00:00
|
|
|
tidal-dl-ng \
|
2024-09-12 21:17:04 +00:00
|
|
|
tidal-hifi-bin \
|
|
|
|
nuclear-player-bin \
|
|
|
|
audius-client-bin
|
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive fileSync
|
2024-09-12 21:17:04 +00:00
|
|
|
if $isInstall
|
|
|
|
yayinst nextcloud-client
|
|
|
|
end
|
|
|
|
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../Software/rclone/main.fish" $argv
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive socialMedia && $isInstall
|
2024-09-12 21:17:04 +00:00
|
|
|
yayinst \
|
|
|
|
signal-desktop \
|
|
|
|
vesktop-bin
|
2024-09-13 12:55:50 +00:00
|
|
|
|
2024-09-13 14:32:39 +00:00
|
|
|
and begin
|
|
|
|
yes y | runYay threema-desktop
|
|
|
|
end
|
|
|
|
|
|
|
|
and begin
|
|
|
|
yes y | runYay nodejs
|
|
|
|
end
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive productivity && $isInstall
|
2024-09-12 21:17:04 +00:00
|
|
|
yayinst \
|
|
|
|
anki-bin
|
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive school && $isInstall
|
2024-09-12 21:17:04 +00:00
|
|
|
yayinst \
|
|
|
|
jdk17-temurin \
|
|
|
|
gradle \
|
|
|
|
jetbrains-toolbox
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and source "$dir/../../Common/Software/udev/ct-board.fish"
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive coding
|
2024-09-12 21:17:04 +00:00
|
|
|
if $isInstall
|
|
|
|
yayinst \
|
|
|
|
archiso \
|
|
|
|
wimlib (
|
|
|
|
# ISO support for wimlib
|
|
|
|
) cdrkit \
|
|
|
|
tea \
|
|
|
|
woodpecker-cli (
|
|
|
|
# AsciiDocs
|
|
|
|
) python-docutils (
|
|
|
|
# reStructuredText
|
|
|
|
) esbonio
|
|
|
|
end
|
|
|
|
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../Software/n/main.fish" $argv
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive python
|
2024-09-12 21:17:04 +00:00
|
|
|
if $isInstall
|
|
|
|
yayinst \
|
|
|
|
python \
|
|
|
|
python-pip \
|
|
|
|
python-pipenv
|
|
|
|
end
|
|
|
|
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../Software/pyenv/main.fish" $argv
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive gaming
|
2024-09-12 21:17:04 +00:00
|
|
|
if $isInstall
|
|
|
|
yayinst \
|
2024-09-13 12:53:46 +00:00
|
|
|
chiaki-ng \
|
2024-09-12 21:17:04 +00:00
|
|
|
osu-lazer-bin \
|
|
|
|
libretro \
|
|
|
|
supertux \
|
|
|
|
gamepad-tool-bin
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and sudo flatpak install -y flathub com.usebottles.bottles
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 15:36:29 +00:00
|
|
|
and source "$dir/../Software/Lutris/main.fish" $argv
|
2024-09-20 00:07:32 +00:00
|
|
|
and source "$dir/../Software/steam/main.fish" $argv
|
2024-09-12 21:17:04 +00:00
|
|
|
end
|
|
|
|
|
2024-09-13 13:10:29 +00:00
|
|
|
and if collectionActive essential && $isInstall
|
2024-09-12 21:17:04 +00:00
|
|
|
yayinst bb
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
deploySoftware $argv
|