Compare commits
	
		
			3 commits
		
	
	
		
			c9c3be7dc4
			...
			f3d1408835
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f3d1408835 | |||
| a86d4b844c | |||
| b0b5108d34 | 
					 6 changed files with 27 additions and 25 deletions
				
			
		
							
								
								
									
										1
									
								
								.tmux/.tmux
									
										
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.tmux/.tmux
									
										
									
									
									
										Symbolic link
									
								
							|  | @ -0,0 +1 @@ | |||
| /home/d_mcknight/.dotfiles/.tmux | ||||
|  | @ -1,9 +0,0 @@ | |||
| # Default colors | ||||
| colors: | ||||
|   normal: | ||||
|     cyan: '#008b8b' | ||||
|   bright: | ||||
|     cyan: '#008b8b' | ||||
|   dim: | ||||
|     cyan: '#008b8b' | ||||
| 
 | ||||
							
								
								
									
										1
									
								
								config.toml
									
										
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								config.toml
									
										
									
									
									
										Symbolic link
									
								
							|  | @ -0,0 +1 @@ | |||
| /home/d_mcknight/.dotfiles/alacritty/config.toml | ||||
|  | @ -6,8 +6,16 @@ return { | |||
|       options = { | ||||
|         --`theme=codedark, | ||||
|         component_separators = { left = '', right = '' }, | ||||
|         section_separators = { left = '', right = '' } | ||||
|       } | ||||
|         section_separators = { left = '', right = '' }, | ||||
|       }, | ||||
|       sections = { | ||||
|         lualine_a = {'mode'}, | ||||
|         lualine_b = {'branch', 'diff', 'diagnostics'}, | ||||
|         lualine_c = {'filename'}, | ||||
|         lualine_x = {'encoding', 'filetype'}, | ||||
|         lualine_y = {'progress'}, | ||||
|         lualine_z = {'location'} | ||||
|       }, | ||||
|     }) | ||||
|   end | ||||
| } | ||||
|  |  | |||
							
								
								
									
										29
									
								
								setup
									
										
									
									
									
								
							
							
						
						
									
										29
									
								
								setup
									
										
									
									
									
								
							|  | @ -1,29 +1,30 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| # Backup any existing dotfiles | ||||
| [ -f ~/.bashrc ] && mv ~/.bashrc ~/.bashrc.bak | ||||
| [ -f ~/.nanorc ] && mv ~/.nanorc ~/.nanorc.bak | ||||
| [ -f ~/.tmux.conf ] && mv ~/.tmux.conf ~/.tmux.conf.bak | ||||
| [ -f ~/.dircolors ] && mv ~/.dircolors ~/.dircolors.bak | ||||
| [ -d ~/.tmux ] && mv ~/.tmux ~/.tmux.bak | ||||
| [ -f ~/.config/k9s/config.yml ] && mv ~/.config/k9s/config.yml ~/.config/k9s/config.bak | ||||
| [ -f ~/.bashrc ] && [ ! -L ~/.bashrc ] && mv ~/.bashrc ~/.bashrc.bak | ||||
| [ -f ~/.nanorc ] && [ ! -L ~/.nanorc ] && mv ~/.nanorc ~/.nanorc.bak | ||||
| [ -f ~/.tmux.conf ] && [ ! -L ~/.tmux.conf ] && mv ~/.tmux.conf ~/.tmux.conf.bak | ||||
| [ -f ~/.dircolors ] && [ ! -L ~/.dircolors ] && mv ~/.dircolors ~/.dircolors.bak | ||||
| [ -d ~/.tmux ] && [ ! -L ~/.tmux ] && mv ~/.tmux ~/.tmux.bak | ||||
| [ -f ~/.config/k9s/config.yml ] && [ ! -L ~/.config/k9s/config.yml ] && mv ~/.config/k9s/config.yml ~/.config/k9s/config.bak | ||||
| # Link dotfiles | ||||
| [ -d ~/.config/alacritty ] || mkdir ~/.config/alacritty | ||||
| [ -e ~/.config/alacritty/config.toml ] || ln -s ~/.dotfiles/alacritty.toml ~/.config/alacritty/config.toml | ||||
| [ -e ~/.tmux.conf ] || ln -s ~/.dotfiles/.tmux.conf ~/.tmux.conf | ||||
| [ -e ~/.bashrc ] || ln -s ~/.dotfiles/.bashrc ~/.bashrc | ||||
| [ -e ~/.nanorc ] || ln -s ~/.dotfiles/.nanorc ~/.nanorc | ||||
| [ -e ~/.tmux ] || ln -s ~/.dotfiles/.tmux ~/.tmux | ||||
| [ -e ~/.dircolors ] || ln -s ~/.dotfiles/.dircolors ~/.dircolors | ||||
| 
 | ||||
| # Copy fonts if needed | ||||
| [ -d ~/.local/share/fonts ] || cp -r ~/.dotfiles/fonts ~/.local/share | ||||
| 
 | ||||
| # neoVim configuration  | ||||
| [ -d ~/.config/nvim ] && [ ! -L ~/.config/nvim ] && mv ~/.config/nvim ~/.config/nvim.old | ||||
| [ -e ~/.config/nvim ] || ln -s ~/.dotfiles/nvim ~/.config/nvim | ||||
| 
 | ||||
| # k9s only if directory exists | ||||
| if [ -d ~/.config/k9s ]; then | ||||
|   [ -e ~/.config/k9s/config.yml ] || ln -s ~/.dotfiles/k9s_config.yml ~/.config/k9s/config.yml | ||||
| fi | ||||
| 
 | ||||
| # Copy font if needed | ||||
| [ -d ~/.local/share/fonts ] || cp -r ~/.dotfiles/fonts ~/.local/share | ||||
| 
 | ||||
| # Config directory | ||||
| [ -d ~/.config/nvim ] && mv ~/.config/nvim ~/.config/nvim.old | ||||
| ln -s ~/.dotfiles/nvim ~/.config/nvim | ||||
| [ -d ~/.config/alacritty ] && mv ~/.config/alacritty ~/.config/alacritty.old | ||||
| ln -s ~/.dotfiles/alacritty ~/.config/alacritty | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue