mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	initial commit
This commit is contained in:
		
						commit
						01ced0b7ce
					
				
					 184 changed files with 35358 additions and 0 deletions
				
			
		
							
								
								
									
										14
									
								
								scripts/websearch
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										14
									
								
								scripts/websearch
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| 
 | ||||
| SEARCH_ENGINE="https://search.brave.com/search?q=" | ||||
| SEARCH_HISTORY=/tmp/.search_history | ||||
| 
 | ||||
| SEARCH=$(cat $SEARCH_HISTORY | dmenu -p "search") | ||||
| 
 | ||||
| touch $SEARCH_HISTORY | ||||
| 
 | ||||
| cat <<< "$SEARCH | ||||
| $(cat $SEARCH_HISTORY)" > $SEARCH_HISTORY | ||||
| 
 | ||||
| brave "$SEARCH_ENGINE$SEARCH" | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue