1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-24 14:16:49 +00:00

Qute: WhiteList toggle

This commit is contained in:
Phantop 2022-01-20 00:06:06 -05:00
parent e08ada07da
commit 2a456a5b7f
3 changed files with 3 additions and 1 deletions

View file

@ -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')

View file

@ -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',

View file

@ -1,5 +1,5 @@
// ==UserScript==
// @match
// @name WhiteList
// @match https://archiveofourown.org/*
// @match https://canary.discord.com/*
// @match https://drop.lol/*