config.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Autogenerated config.py
  2. # Documentation:
  3. # qute://help/configuring.html
  4. # qute://help/settings.html
  5. # Uncomment this to still load settings configured via autoconfig.yml
  6. # config.load_autoconfig()
  7. # Store cookies. Note this option needs a restart with QtWebEngine on Qt
  8. # < 5.9.
  9. # Type: Bool
  10. c.content.cookies.store = False
  11. # Enable JavaScript.
  12. # Type: Bool
  13. config.set('content.javascript.enabled', True, 'file://*')
  14. # Enable JavaScript.
  15. # Type: Bool
  16. config.set('content.javascript.enabled', True, 'chrome://*/*')
  17. # Enable JavaScript.
  18. # Type: Bool
  19. config.set('content.javascript.enabled', True, 'qute://*/*')
  20. # Make characters in hint strings uppercase.
  21. # Type: Bool
  22. c.hints.uppercase = True
  23. # Font used for the hints.
  24. # Type: Font
  25. c.fonts.hints = 'bold 16pt monospace'
  26. c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}', 'wikiwand': 'https://www.wikiwand.com/en/{}?fullSearch=false'}
  27. c.messages.timeout = 5000
  28. config.bind('wo', 'set-cmd-text -s :open -w')
  29. config.bind('wd', 'close')
  30. config.bind('sp', 'set-cmd-text -s :open -w startpage')
  31. config.bind('wk', 'set-cmd-text -s :open -w wikiwand')