Update configs
This commit is contained in:
		
							parent
							
								
									e90b442a58
								
							
						
					
					
						commit
						2e4cfc4c6a
					
				
					 6 changed files with 19 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,8 @@
 | 
			
		|||
import dracula.draw
 | 
			
		||||
 | 
			
		||||
def init(c):
 | 
			
		||||
    c.auto_save.session = True
 | 
			
		||||
 | 
			
		||||
    #c.colors.webpage.darkmode.enabled = True
 | 
			
		||||
    #c.colors.webpage.darkmode.policy.images = 'never'
 | 
			
		||||
    c.colors.webpage.preferred_color_scheme = 'dark'
 | 
			
		||||
| 
						 | 
				
			
			@ -10,6 +12,7 @@ def init(c):
 | 
			
		|||
    c.content.headers.custom = {
 | 
			
		||||
        "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
 | 
			
		||||
    }
 | 
			
		||||
    #c.content.headers.user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36"
 | 
			
		||||
    c.content.tls.certificate_errors = 'block'
 | 
			
		||||
 | 
			
		||||
    c.downloads.position = 'bottom'
 | 
			
		||||
| 
						 | 
				
			
			@ -26,6 +29,7 @@ def init(c):
 | 
			
		|||
    c.url.searchengines = {
 | 
			
		||||
        'DEFAULT': 'https://duckduckgo.com/?q={}',
 | 
			
		||||
    }
 | 
			
		||||
    c.url.start_pages = ['rss.serguzim.me', 'open.spotify.com']
 | 
			
		||||
 | 
			
		||||
    dracula.draw.blood(c, {
 | 
			
		||||
        'spacing': {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,10 +5,6 @@ config.load_autoconfig()
 | 
			
		|||
keybindings.init(config)
 | 
			
		||||
common.init(c)
 | 
			
		||||
 | 
			
		||||
c.auto_save.session = True
 | 
			
		||||
 | 
			
		||||
c.url.start_pages = ['rss.serguzim.me', 'open.spotify.com']
 | 
			
		||||
 | 
			
		||||
import socket
 | 
			
		||||
if socket.gethostname() == 'portalo':
 | 
			
		||||
    c.zoom.default = 125
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,6 +23,9 @@ def init(c):
 | 
			
		|||
    c.bind(',q', 'spawn --userscript qr {url}')
 | 
			
		||||
    c.bind(',Q', 'hint links spawn --userscript qr {hint-url}')
 | 
			
		||||
 | 
			
		||||
    # cookies
 | 
			
		||||
    c.bind(',cd', 'jseval document.cookie = "XDEBUG_SESSION=phpstorm; expires=Fri, 01 Jan 9999 00:00:00 GMT; path=/"')
 | 
			
		||||
 | 
			
		||||
    c.bind('<Alt-9>', 'tab-focus 9')
 | 
			
		||||
 | 
			
		||||
    c.bind('<Ctrl-Tab>', 'tab-next')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue