restructuring

This commit is contained in:
Ludwig Lehnert 2025-04-25 13:46:59 +02:00
parent 41e58e96c1
commit f8115da7bb
Signed by: ludwig
SSH Key Fingerprint: SHA256:4vshH9GJ8TLO1RS2fY6rDDLnq7+KVvSClCY+uEhYYRA
28 changed files with 19 additions and 9 deletions

View File

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 3.9 MiB

View File

Before

Width:  |  Height:  |  Size: 2.9 MiB

After

Width:  |  Height:  |  Size: 2.9 MiB

8
files/.gitconfig Normal file
View File

@ -0,0 +1,8 @@
[user]
name = Ludwig Lehnert
email = ludwig@lehnert.dev
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFjDSkdrqYytm51H5o+Shr9mhboal4TR0o2XbrzrsRkf
[gpg]
format = ssh
[commit]
gpgSign = true

14
install
View File

@ -3,16 +3,12 @@
cd "$(dirname $(realpath "$0"))" cd "$(dirname $(realpath "$0"))"
# install config files # install config files
for filename in $(ls -p config); do cd files
subpath="${filename//-//}" for filepath in $(find . -type f); do
filepath="$HOME/.config/$subpath" mkdir -p "$HOME/$(dirname $filepath)"
mkdir -p "$(dirname $filepath)" cp "$filepath" "$HOME/$filepath"
cp "config/$filename" "$filepath"
done done
cd ..
# install backrounds
mkdir -p "$HOME/.local/share/wallpapers"
cp ./backgrounds/* "$HOME/.local/share/wallpapers/"
mkdir -p "$HOME/.local/bin" mkdir -p "$HOME/.local/bin"

6
setup
View File

@ -92,6 +92,7 @@ if [[ $distro == "arch linux" ]]; then
"org.inkscape.Inkscape" "org.inkscape.Inkscape"
"org.onlyoffice.desktopeditors" "org.onlyoffice.desktopeditors"
"com.github.xournalpp.xournalpp" "com.github.xournalpp.xournalpp"
"com.github.flxzt.rnote"
"net.nokyan.Resources" "net.nokyan.Resources"
"org.gnome.Loupe" "org.gnome.Loupe"
"org.gnome.Evince" "org.gnome.Evince"
@ -123,6 +124,11 @@ if [[ $distro == "arch linux" ]]; then
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y "${flatpak[@]}" flatpak install -y "${flatpak[@]}"
sudo chsh -s /usr/bin/fish $USER
sudo usermod -aG video $USER
sudo usermod -aG kvm $USER
else else
echo "Unknown distribution '$distro'; exiting..." echo "Unknown distribution '$distro'; exiting..."
exit 1 exit 1