mirror of
				https://github.com/gethomepage/homepage.git
				synced 2025-11-04 03:27:02 -05:00 
			
		
		
		
	FEAT: Searchbar
This commit is contained in:
		
							parent
							
								
									6291a5422a
								
							
						
					
					
						commit
						992b18c9de
					
				@ -1,4 +1,4 @@
 | 
				
			|||||||
import { useEffect, useState } from "react";
 | 
					import { useState } from "react";
 | 
				
			||||||
import { FiSearch } from "react-icons/fi";
 | 
					import { FiSearch } from "react-icons/fi";
 | 
				
			||||||
import { FcGoogle } from "react-icons/fc";
 | 
					import { FcGoogle } from "react-icons/fc";
 | 
				
			||||||
import { SiDuckduckgo } from "react-icons/si";
 | 
					import { SiDuckduckgo } from "react-icons/si";
 | 
				
			||||||
 | 
				
			|||||||
@ -5,10 +5,9 @@
 | 
				
			|||||||
    cpu: true
 | 
					    cpu: true
 | 
				
			||||||
    memory: true
 | 
					    memory: true
 | 
				
			||||||
    disk: /
 | 
					    disk: /
 | 
				
			||||||
 | 
					# - search: # Searchbar in widgets area
 | 
				
			||||||
- search: # Searchbar in widgets area
 | 
					#     provider: custom # Can be google, duckduckgo, bing or custom.
 | 
				
			||||||
    provider: custom # Can be google, duckduckgo, bing or custom.
 | 
					#     target: _blank # Can be _blank, _top, _self or _parent.
 | 
				
			||||||
    target: _blank # Can be _blank, _top, _self or _parent.
 | 
					#     customdata:
 | 
				
			||||||
    customdata:
 | 
					#       url: https://startpage.com/search?q= # Required for custom provider. Remember to add the q param as per your provider.
 | 
				
			||||||
      url: https://startpage.com/search?q= # Required for custom provider. Remember to add the q param as per your provider.
 | 
					#       abbr: G # Can be omitted. Only the first 2 characters will be considered.
 | 
				
			||||||
      abbr: G # Can be omitted. Only the first 2 characters will be considered.
 | 
					 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user