13 lines
		
	
	
		
			291 B
		
	
	
	
		
			Python
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			291 B
		
	
	
	
		
			Python
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env python
 | 
						|
 | 
						|
from pyfzf import FzfPrompt
 | 
						|
from lib.FirefoxProfile import FirefoxProfile
 | 
						|
 | 
						|
 | 
						|
with FirefoxProfile.default() as ff:
 | 
						|
    choice = FzfPrompt().prompt(ff.bookmarks())
 | 
						|
    if choice:
 | 
						|
        ff.browse("http" + choice[0].split(", http")[1])
 | 
						|
    else:
 | 
						|
        print("Aborted")
 |