feat: Remove old eww folder

This commit is contained in:
Fabio Lenherr / DashieTM 2023-10-03 21:30:23 +02:00
parent be38dd733d
commit 1654ce2be0
17 changed files with 2296 additions and 106 deletions

27
scripts/pacsave Executable file
View file

@ -0,0 +1,27 @@
#!/bin/bash
pacfile="$HOME/.config/scripts/pacmanpkg.txt"
save() {
rm $pacfile
var=$(pacman -Q)
echo $var
if [ "$pacfile" != ' ' ]; then
touch $pacfile
fi
echo "$var" | awk '{ print $1 }' >>$pacfile
}
load() {
sudo paru -S - <$pacfile
}
if [ "$1" == "-S" ]; then
sudo pacman -S $2
elif [ "$1" == "-R" ]; then
sudo pacman -R $2
elif [ "$1" == "save" ]; then
save
elif [ "$1" == "load" ]; then
load
fi