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"))" | ||||
| 
 | ||||
| # install config files | ||||
| for filename in $(ls -p config); do | ||||
| 	subpath="${filename//-//}" | ||||
| 	filepath="$HOME/.config/$subpath" | ||||
| 	mkdir -p "$(dirname $filepath)" | ||||
| 	cp "config/$filename" "$filepath" | ||||
| cd files | ||||
| for filepath in $(find . -type f); do | ||||
| 	mkdir -p "$HOME/$(dirname $filepath)" | ||||
| 	cp "$filepath" "$HOME/$filepath" | ||||
| done | ||||
| 
 | ||||
| # install backrounds | ||||
| mkdir -p "$HOME/.local/share/wallpapers" | ||||
| cp ./backgrounds/* "$HOME/.local/share/wallpapers/" | ||||
| cd .. | ||||
| 
 | ||||
| mkdir -p "$HOME/.local/bin" | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										6
									
								
								setup
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								setup
									
									
									
									
									
								
							| @ -92,6 +92,7 @@ if [[ $distro == "arch linux" ]]; then | ||||
|         "org.inkscape.Inkscape" | ||||
|         "org.onlyoffice.desktopeditors" | ||||
|         "com.github.xournalpp.xournalpp" | ||||
|         "com.github.flxzt.rnote" | ||||
|         "net.nokyan.Resources" | ||||
|         "org.gnome.Loupe" | ||||
|         "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 install -y "${flatpak[@]}" | ||||
| 
 | ||||
|     sudo chsh -s /usr/bin/fish $USER | ||||
| 
 | ||||
|     sudo usermod -aG video $USER | ||||
|     sudo usermod -aG kvm $USER | ||||
| else | ||||
|     echo "Unknown distribution '$distro'; exiting..." | ||||
|     exit 1 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user