restructuring
This commit is contained in:
parent
41e58e96c1
commit
f8115da7bb
Before Width: | Height: | Size: 3.9 MiB After Width: | Height: | Size: 3.9 MiB |
Before Width: | Height: | Size: 2.9 MiB After Width: | Height: | Size: 2.9 MiB |
8
files/.gitconfig
Normal file
8
files/.gitconfig
Normal 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
14
install
@ -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
6
setup
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user