1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-11-28 23:35:46 +00:00

Qute: focusmode, reddit -> removeddit

This commit is contained in:
Phantop 2020-03-30 23:52:10 -04:00
parent ee0e6bcc6c
commit afac63a826
3 changed files with 4 additions and 3 deletions

View file

@ -1 +1,3 @@
qsettings
blocked-hosts
blocked-hosts.bak

View file

@ -1,4 +1,3 @@
#!/bin/bash
mv $QUTE_CONFIG_DIR/blocked-hosts $QUTE_CONFIG_DIR/blocked-hosts.bak && exit
mv $QUTE_CONFIG_DIR/blocked-hosts.bak $QUTE_CONFIG_DIR/blocked-hosts
mv $QUTE_CONFIG_DIR/blocked-hosts $QUTE_CONFIG_DIR/blocked-hosts.bak || mv $QUTE_CONFIG_DIR/blocked-hosts.bak $QUTE_CONFIG_DIR/blocked-hosts
echo "adblock-update" > $QUTE_FIFO

View file

@ -1,3 +1,3 @@
#!/usr/bin/fish
echo open (echo $QUTE_URL | sed 's/mobile.twitter.com/nitter.snopyta.org/; s/www.youtube.com/invidio.us/; s/twitter.com/nitter.snopyta.org/; s/www.instagram.com/bibliogram.art/') >> "$QUTE_FIFO"
echo open (echo $QUTE_URL | sed 's/mobile.twitter.com/nitter.snopyta.org/; s/www.youtube.com/invidio.us/; s/twitter.com/nitter.snopyta.org/; s/www.instagram.com/bibliogram.art/; s/old.reddit.com/removeddit.com/; s/reddit.com/removeddit.com/') >> "$QUTE_FIFO"