Add qutebrowser config.py
This commit is contained in:
		
							parent
							
								
									f051221655
								
							
						
					
					
						commit
						f001d79cf3
					
				
					 1 changed files with 25 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								.config/qutebrowser/config.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.config/qutebrowser/config.py
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
config.load_autoconfig()
 | 
			
		||||
 | 
			
		||||
c.auto_save.session = True
 | 
			
		||||
c.url.start_pages = ['dashboard.serguzim.me']
 | 
			
		||||
c.url.searchengines = {'DEFAULT': 'bookmarks.serguzim/?q={}'}
 | 
			
		||||
c.zoom.default = 130
 | 
			
		||||
 | 
			
		||||
config.bind(',v', 'spawn mpv {url}')
 | 
			
		||||
config.bind(',V', 'hint links spawn mpv {hint-url}')
 | 
			
		||||
 | 
			
		||||
config.bind(',s', 'spawn steam steam://openurl/{url}')
 | 
			
		||||
config.bind(',rr', 'open {url:scheme}://removeddit.com{url:path}{url:query}')
 | 
			
		||||
config.bind(',rt', 'open {url:scheme}://reddit.tube{url:path}{url:query}')
 | 
			
		||||
 | 
			
		||||
PASS_SCRIPT_DEFAULT = 'spawn --userscript qute-pass --no-insert-mode --username-target secret --username-pattern "login: (.+)"'
 | 
			
		||||
config.bind(',p',  PASS_SCRIPT_DEFAULT)
 | 
			
		||||
config.bind(',Pu', PASS_SCRIPT_DEFAULT + '--username-only')
 | 
			
		||||
config.bind(',Pi', PASS_SCRIPT_DEFAULT + '--password-only')
 | 
			
		||||
config.bind(',Po', PASS_SCRIPT_DEFAULT + '--otp-only')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
config.bind('<Alt-9>', 'tab-focus 9')
 | 
			
		||||
 | 
			
		||||
config.bind('<Ctrl-Tab>', 'tab-next')
 | 
			
		||||
config.bind('<Ctrl-Shift-Tab>', 'tab-prev')
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue