2024-07-13 13:12:35 +00:00
|
|
|
#!/bin/env fish
|
2024-07-14 01:05:26 +00:00
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
2024-07-13 13:49:55 +00:00
|
|
|
|
2024-07-14 01:05:26 +00:00
|
|
|
function initialize -V dir
|
2024-07-15 10:45:49 +00:00
|
|
|
source "$dir/../../Common/Scripts/wait-network.fish"
|
2024-07-15 11:12:46 +00:00
|
|
|
waitNetwork
|
2024-07-15 10:45:49 +00:00
|
|
|
or exit
|
|
|
|
|
2024-07-15 17:58:56 +00:00
|
|
|
sudo systemctl enable --now nix-daemon
|
2024-07-15 10:10:06 +00:00
|
|
|
source "$dir/../Scripts/software.fish"
|
2024-07-14 01:05:26 +00:00
|
|
|
source "$dir/../Software/base-devel/main.fish"
|
2024-07-14 07:44:32 +00:00
|
|
|
source "$dir/../Software/pacman/main.fish"
|
2024-07-14 20:33:56 +00:00
|
|
|
source "$dir/../Software/yay/main.fish"
|
2024-07-15 18:51:20 +00:00
|
|
|
|
|
|
|
yayinst \
|
|
|
|
pacman-contrib \
|
|
|
|
powershell-bin
|
2024-07-14 01:05:26 +00:00
|
|
|
end
|
2024-07-13 13:49:55 +00:00
|
|
|
|
2024-07-14 01:05:26 +00:00
|
|
|
if not type -q installSoftware
|
2024-07-14 08:09:37 +00:00
|
|
|
function installSoftware -V dir
|
2024-07-15 10:10:06 +00:00
|
|
|
source "$dir/../../Common/Scripts/config.fish"
|
|
|
|
source "$dir/../Scripts/software.fish"
|
|
|
|
|
2024-07-15 11:27:14 +00:00
|
|
|
if collectionActive essential
|
2024-07-15 10:10:06 +00:00
|
|
|
yayinst \
|
|
|
|
mkinitcpio-firmware \
|
|
|
|
neofetch \
|
|
|
|
bash-completion \
|
|
|
|
wget \
|
|
|
|
oh-my-posh-bin \
|
|
|
|
screen \
|
|
|
|
tmux \
|
|
|
|
htop \
|
|
|
|
lsof \
|
|
|
|
zsh \
|
|
|
|
fish \
|
|
|
|
pkgfile \
|
|
|
|
sl \
|
|
|
|
rar
|
|
|
|
|
|
|
|
sudo pkgfile --update
|
2024-07-17 12:18:27 +00:00
|
|
|
source "$dir/../../Common/Software/bash/main.fish"
|
2024-07-15 10:10:06 +00:00
|
|
|
source "$dir/../Software/openssh/main.fish"
|
|
|
|
source "$dir/../Software/vim/main.fish"
|
|
|
|
source "$dir/../Software/git/main.fish"
|
2024-07-16 12:28:32 +00:00
|
|
|
source "$dir/../Software/zoxide/main.fish"
|
2024-07-17 12:18:27 +00:00
|
|
|
source "$dir/../Software/logo-ls/main.fish"
|
2024-07-16 21:11:27 +00:00
|
|
|
|
|
|
|
# GRUB Shenanigans - if that's not an essential I don't know what is!
|
|
|
|
source "$dir/../Software/minegrub-theme/main.fish";
|
2024-07-15 10:10:06 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
if collectionActive common
|
|
|
|
yayinst \
|
|
|
|
tldr \
|
|
|
|
btop \
|
|
|
|
terminal-parrot
|
2024-07-16 01:30:14 +00:00
|
|
|
|
|
|
|
source "$dir/../Software/aliae/main.fish"
|
2024-07-15 10:10:06 +00:00
|
|
|
end
|
2024-07-16 12:56:49 +00:00
|
|
|
|
|
|
|
if collectionActive desktopExperience
|
|
|
|
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
|
|
|
|
|
|
|
|
source "$dir/../Software/KDE/main.fish"
|
|
|
|
source "$dir/../Software/sddm/main.fish"
|
|
|
|
|
|
|
|
# Fonts
|
|
|
|
yayinst \
|
|
|
|
ttf-cascadia-code-nerd \
|
|
|
|
ttf-ms-win11-auto \
|
|
|
|
otf-cascadia-code \
|
|
|
|
ttf-droid
|
2024-07-17 12:18:27 +00:00
|
|
|
|
|
|
|
# Password Management
|
|
|
|
yayinst \
|
|
|
|
bitwarden \
|
|
|
|
keepass \
|
|
|
|
keepassxc
|
|
|
|
|
|
|
|
# Tools
|
|
|
|
yayinst \
|
|
|
|
android-tools \
|
|
|
|
blackbox-terminal \
|
|
|
|
cpu-x \
|
|
|
|
gnome-calculator \
|
2024-09-12 21:11:04 +00:00
|
|
|
yubikey-manager-qt \
|
|
|
|
wireshark-qt \
|
|
|
|
linux-wifi-hotspot
|
2024-07-17 12:18:27 +00:00
|
|
|
|
2024-09-12 21:11:04 +00:00
|
|
|
# Remote Access
|
2024-07-17 12:18:27 +00:00
|
|
|
yayinst \
|
|
|
|
remmina (
|
|
|
|
# RDP support for Remmina
|
2024-09-12 21:11:04 +00:00
|
|
|
) freerdp
|
2024-07-17 12:18:27 +00:00
|
|
|
|
|
|
|
# Creativity
|
|
|
|
yayinst \
|
|
|
|
gimp \
|
|
|
|
inkscape
|
|
|
|
|
|
|
|
# Office stuff
|
|
|
|
yayinst \
|
|
|
|
libreoffice-fresh \
|
|
|
|
naps2-bin \
|
|
|
|
pdfarranger \
|
|
|
|
protonmail-bridge \
|
|
|
|
thunderbird
|
|
|
|
|
2024-07-17 12:26:01 +00:00
|
|
|
yayinst \
|
|
|
|
texlive \
|
|
|
|
texlive-langgerman
|
|
|
|
|
2024-07-17 12:18:27 +00:00
|
|
|
# Browser
|
2024-07-17 13:54:09 +00:00
|
|
|
source "$dir/../Software/Firefox/main.fish"
|
2024-07-17 12:18:27 +00:00
|
|
|
source "$dir/../Software/brave/main.fish"
|
|
|
|
source "$dir/../Software/Pennywise/main.fish"
|
|
|
|
|
|
|
|
# Virtualization
|
|
|
|
source "$dir/../Software/waydroid/main.fish"
|
|
|
|
source "$dir/../Software/Virtual Machine Manager/main.fish"
|
2024-09-12 21:09:25 +00:00
|
|
|
yayinst propertree-git # mac .plist config file editor
|
2024-07-17 12:26:01 +00:00
|
|
|
|
2024-07-17 13:49:30 +00:00
|
|
|
if collectionActive coding
|
|
|
|
yayinst \
|
|
|
|
devdocs-desktop \
|
|
|
|
godot-mono-bin
|
|
|
|
|
|
|
|
source "$dir/../Software/vscode/main.fish"
|
|
|
|
end
|
|
|
|
|
2024-07-17 12:26:01 +00:00
|
|
|
if collectionActive school
|
|
|
|
yayinst \
|
|
|
|
teams-for-linux \
|
|
|
|
xournalpp-git \
|
|
|
|
rnote
|
|
|
|
end
|
2024-07-16 12:56:49 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
if collectionActive server
|
|
|
|
else
|
|
|
|
# Energy Saving
|
|
|
|
yayinst power-profiles-daemon
|
|
|
|
sudo systemctl enable --now power-profiles-daemon
|
|
|
|
|
|
|
|
# Networking
|
|
|
|
yayinst \
|
|
|
|
networkmanager-openvpn \
|
2024-07-17 12:18:27 +00:00
|
|
|
networkmanager-openconnect \
|
|
|
|
protonvpn
|
|
|
|
|
|
|
|
if collectionActive common
|
|
|
|
source "$dir/../Software/IcedTea/main.fish"
|
|
|
|
|
|
|
|
yayinst \
|
|
|
|
img2pdf \
|
|
|
|
numbat-bin \
|
|
|
|
nvtop \
|
|
|
|
pdf2svg \
|
|
|
|
tnef
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
if collectionActive media
|
|
|
|
yayinst \
|
|
|
|
ytmdesktop-bin \
|
|
|
|
netflix \
|
|
|
|
spotube-bin \
|
|
|
|
stremio \
|
|
|
|
tidal-dl \
|
|
|
|
tidal-hifi-bin \
|
|
|
|
nuclear-player-bin \
|
|
|
|
audius-client-bin
|
|
|
|
end
|
|
|
|
|
|
|
|
if collectionActive fileSync
|
|
|
|
yayinst nextcloud-client
|
|
|
|
source "$dir/../Software/rclone/main.fish"
|
|
|
|
end
|
|
|
|
|
|
|
|
if collectionActive socialMedia
|
|
|
|
yayinst \
|
|
|
|
signal-desktop \
|
|
|
|
threema-desktop \
|
|
|
|
discord (
|
|
|
|
# Open Source Discord implementation
|
|
|
|
) openasar-git
|
|
|
|
end
|
|
|
|
|
|
|
|
if collectionActive productivity
|
|
|
|
yayinst \
|
|
|
|
anki-bin
|
|
|
|
end
|
|
|
|
|
2024-07-17 12:26:01 +00:00
|
|
|
if collectionActive school
|
|
|
|
yayinst \
|
|
|
|
jdk17-temurin \
|
|
|
|
gradle \
|
|
|
|
jetbrains-toolbox
|
|
|
|
|
|
|
|
source "$dir/../../Common/Software/udev/ct-board.fish"
|
|
|
|
end
|
|
|
|
|
2024-07-17 12:18:27 +00:00
|
|
|
if collectionActive coding
|
|
|
|
yayinst \
|
2024-07-17 13:49:30 +00:00
|
|
|
archiso \
|
|
|
|
wimlib (
|
|
|
|
# ISO support for wimlib
|
|
|
|
) cdrkit \
|
2024-07-17 12:18:27 +00:00
|
|
|
tea \
|
2024-07-17 13:49:30 +00:00
|
|
|
woodpecker-cli (
|
|
|
|
# AsciiDocs
|
|
|
|
) python-docutils (
|
|
|
|
# reStructuredText
|
|
|
|
) esbonio
|
2024-07-17 12:18:27 +00:00
|
|
|
|
|
|
|
source "$dir/../Software/n/main.fish"
|
|
|
|
end
|
|
|
|
|
|
|
|
if collectionActive python
|
|
|
|
yayinst \
|
|
|
|
python \
|
|
|
|
python-pip \
|
|
|
|
python-pipenv
|
|
|
|
|
|
|
|
source "$dir/../Software/pyenv/main.fish"
|
|
|
|
end
|
|
|
|
|
|
|
|
if collectionActive gaming
|
|
|
|
yayinst \
|
|
|
|
steam \
|
|
|
|
chiaki \
|
|
|
|
osu-lazer-bin \
|
|
|
|
libretro \
|
|
|
|
supertux \
|
|
|
|
gamepad-tool-bin
|
|
|
|
|
|
|
|
source "$dir/../Software/Lutris/main.fish"
|
|
|
|
sudo flatpak install -y flathub com.usebottles.bottles
|
2024-07-16 12:56:49 +00:00
|
|
|
end
|
2024-07-17 13:08:27 +00:00
|
|
|
|
|
|
|
if collectionActive essential
|
|
|
|
yayinst \
|
|
|
|
bb
|
|
|
|
end
|
2024-07-14 01:05:26 +00:00
|
|
|
end
|
2024-07-13 13:49:55 +00:00
|
|
|
end
|
|
|
|
|
2024-07-14 01:05:26 +00:00
|
|
|
source "$dir/../../Common/OS/install.fish"
|
|
|
|
end
|