added light script
This commit is contained in:
		
							parent
							
								
									90b6fb2b80
								
							
						
					
					
						commit
						a7061c3ed9
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								.local/bin/light
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								.local/bin/light
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| #! /bin/sh | ||||
| case "$1" in | ||||
| 	on) | ||||
| 		echo 'VIM_COLORSCHEME=light' | tee "$HOME/.config/environment.d/light.conf" | ||||
| 	;; | ||||
| 	off) | ||||
| 		echo 'VIM_COLORSCHEME=dark' | tee "$HOME/.config/environment.d/light.conf" | ||||
| 	;; | ||||
| 	*) | ||||
| 		echo "Usage: $(basename $0) on|off" >&2 | ||||
| 		exit 1 | ||||
| 	;; | ||||
| esac | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue