mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-24 14:16:49 +00:00
Qute: WhiteList toggle
This commit is contained in:
parent
e08ada07da
commit
2a456a5b7f
|
@ -22,6 +22,7 @@ c.colors.webpage.darkmode.policy.images = 'never'
|
|||
c.aliases['re'] = 'restart'
|
||||
c.aliases['mpv'] = 'spawn -mdv mpv --ytdl-raw-options=sub-lang=en'
|
||||
c.aliases['remove-sticky'] = 'jseval -q document.querySelectorAll("*").forEach(e=>{["sticky","fixed"].includes(getComputedStyle(e).position)&&e.parentNode.removeChild(e)})'
|
||||
c.aliases['toggle-dark'] = 'reload;; jseval -qf ~/.config/qutebrowser/greasemonkey/white.js;; stop'
|
||||
|
||||
config.set('content.notifications.enabled', True, 'https://mail.tutanota.com')
|
||||
config.set('content.register_protocol_handler', True, 'https://mail.tutanota.com')
|
||||
|
|
|
@ -7,6 +7,7 @@ bind = {
|
|||
'm': 'mpv {url}',
|
||||
's1': 'download-open',
|
||||
'sa': 'open -t archive.is/?run=1&url={url}',
|
||||
'sc': 'toggle-dark',
|
||||
'sd': "spawn fish -c 'dl; open (ls | rofi -dmenu -b -i || exit 0)'",
|
||||
'sg': 'debug-dump-page ~/Downloads/dump.html',
|
||||
'sq': 'spawn -u qr',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// ==UserScript==
|
||||
// @match
|
||||
// @name WhiteList
|
||||
// @match https://archiveofourown.org/*
|
||||
// @match https://canary.discord.com/*
|
||||
// @match https://drop.lol/*
|
||||
|
|
Loading…
Reference in a new issue