bindings for internet-wide css themes

This commit is contained in:
Alexander Bocken 2020-11-07 19:08:32 +01:00
parent 314a21fcbf
commit 0e8f770a93
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
2 changed files with 11 additions and 0 deletions

View File

@ -32,6 +32,8 @@ settings:
https://www.youtube.com: false
content.register_protocol_handler:
https://mail.google.com?extsrc=mailto&url=%25s: false
content.user_stylesheets:
global: null
downloads.location.directory:
global: /home/alex/
downloads.location.prompt:

View File

@ -3,9 +3,18 @@ import dracula.draw
# Load existing settings made via :set
config.load_autoconfig()
#Setting Dark mode
#config.set("colors.webpage.darkmode.enabled", True)
dracula.draw.blood(c, {
'spacing': {
'vertical': 0,
'horizontal': 0
}
})
config.bind(',tr', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/dark/dark-all-sites.css ""')
config.bind(',dr', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/darculized/darculized-all-sites.css ""')
config.bind(',ap', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/apprentice/apprentice-all-sites.css ""')
config.bind(',gv', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/gruvbox/gruvbox-all-sites.css ""')
config.bind(',dd', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/solarized-dark/solarized-dark-all-sites.css ""')