Add readme

This commit is contained in:
DashieTM 2024-07-17 23:32:11 +02:00
parent 062d5701cb
commit dba12b15b8
9 changed files with 49 additions and 2661 deletions

View file

@ -1,7 +0,0 @@
# Packages
All packages used are within the respective text files:
- pacman -> pacmanpkg.txt
- crates.io -> carpkg.txt
- flatpak -> flatpkg.txt

View file

@ -1 +0,0 @@
paru

View file

@ -1,69 +0,0 @@
com.atlauncher.ATLauncher
com.brave.Browser
com.github.tchx84.Flatseal
com.heroicgameslauncher.hgl
com.lakoliu.Furtherance
com.obsproject.Studio
com.rustdesk.RustDesk
com.usebottles.bottles
com.valvesoftware.Steam.Utility.gamescope
de.haeckerfelix.Fragments
de.shorsh.discord-screenaudio
dev.lapce.lapce
dev.vencord.Vesktop
im.fluffychat.Fluffychat
info.beyondallreason.bar
io.freetubeapp.FreeTube
io.github.Foldex.AdwSteamGtk
io.github.lainsce.Colorway
io.github.realmazharhussain.GdmSettings
io.gitlab.theevilskeleton.Upscaler
net.ankiweb.Anki
net.davidotek.pupgui2
nl.hjdskes.gcolor3
one.ablaze.floorp
org.Xetibo.ReSet
org.flatpak.Builder
org.freedesktop.Platform
org.freedesktop.Platform
org.freedesktop.Platform
org.freedesktop.Platform.Compat.i386
org.freedesktop.Platform.GL.default
org.freedesktop.Platform.GL.default
org.freedesktop.Platform.GL.default
org.freedesktop.Platform.GL.default
org.freedesktop.Platform.GL.default
org.freedesktop.Platform.GL32.default
org.freedesktop.Platform.GStreamer.gstreamer-vaapi
org.freedesktop.Platform.ffmpeg-full
org.freedesktop.Platform.ffmpeg_full.i386
org.freedesktop.Platform.openh264
org.freedesktop.Platform.openh264
org.freedesktop.Sdk
org.freedesktop.Sdk
org.freedesktop.Sdk.Extension.rust-stable
org.gnome.Calendar
org.gnome.Platform
org.gnome.Platform
org.gnome.Platform
org.gnome.Platform.Compat.i386
org.gnome.Sdk
org.gnome.Sdk
org.gnome.design.IconLibrary
org.gnome.dspy
org.gtk.Gtk3theme.adw-gtk3
org.gtk.Gtk3theme.adw-gtk3-dark
org.kde.Platform
org.kde.Platform
org.kde.PlatformTheme.QGnomePlatform
org.kde.PlatformTheme.QGnomePlatform
org.kde.WaylandDecoration.QAdwaitaDecorations
org.kde.WaylandDecoration.QAdwaitaDecorations
org.kde.WaylandDecoration.QGnomePlatform-decoration
org.kde.WaylandDecoration.QGnomePlatform-decoration
org.onlyoffice.desktopeditors
org.pulseaudio.pavucontrol
org.winehq.Wine.DLLs.dxvk
org.winehq.Wine.gecko
org.winehq.Wine.mono
re.sonny.Workbench

View file

@ -1,91 +0,0 @@
#!/bin/bash
pacfile="$HOME/.config/scripts/pacmanpkg.txt"
flatfile="$HOME/.config/scripts/flatpkg.txt"
carfile="$HOME/.config/scripts/carpkg.txt"
save() {
pacvar=$(pacman -Q)
flatvar=$(flatpak list --columns=application | tail -n +2)
if [ "$pacfile" != ' ' ]; then
touch "$pacfile"
fi
if [ "$flatfile" != ' ' ]; then
touch "$flatfile"
fi
if [ "$carfile" != ' ' ]; then
touch "$carfile"
fi
echo "$pacvar" | awk '{ print $1 }' >"$pacfile"
echo "$flatvar" >"$flatfile"
mkdir -p $HOME/.local/bin/cargo/
ls $HOME/.local/bin/cargo/bin/ >"$carfile"
}
load() {
paru -S - <"$pacfile"
while read app; do
flatpak install "$app" -y
done <"$flatfile"
}
install() {
PKG=$(pacman -Ss "^$1$")
if [ "$PKG" == '' ]; then
CHOICE="F"
read -p "Flatpak, cargo or aur? [F/c/a] " CHOICE
if [ "$CHOICE" == 'F' ] || [ "$CHOICE" == '' ]; then
flatpak install "$1"
elif [ "$CHOICE" == 'c' ]; then
mkdir -p $HOME/.local/bin/cargo/
cargo install "$1" --root $HOME/.local/bin/cargo/
else
echo "warning, this is an aur package!"
paru -S "$1"
fi
else
paru -S "$1"
fi
save
}
remove() {
PKG=$(pacman -Qs "$1")
if [ "$PKG" == '' ]; then
flatpak uninstall "$1"
else
sudo pacman -R "$1"
fi
save
}
update() {
CHOICE="Y"
read -p "Update pacman? [Y/n] " CHOICE
if [ "$CHOICE" == 'Y' ] || [ "$CHOICE" == 'y' ]; then
sudo pacman -Suy
fi
CHOICE="Y"
read -p "Update flatpak? [Y/n] " CHOICE
if [ "$CHOICE" == 'Y' ] || [ "$CHOICE" == 'y' ]; then
flatpak update
fi
CHOICE="Y"
read -p "Update AUR? [Y/n] " CHOICE
if [ "$CHOICE" == 'Y' ] || [ "$CHOICE" == 'y' ]; then
paru -Suy
fi
CHOICE="Y"
}
if [ "$1" == "-S" ]; then
install "$2"
elif [ "$1" == "-R" ]; then
remove "$2"
elif [ "$1" == "-Suy" ]; then
update
elif [ "$1" == "save" ]; then
save
elif [ "$1" == "load" ]; then
load
fi

File diff suppressed because it is too large Load diff