diff --git a/bin/padjpeg b/bin/padjpeg index bd95a53..d37612f 100755 --- a/bin/padjpeg +++ b/bin/padjpeg @@ -20,7 +20,12 @@ fi des_width=$(printf '1 k %f %u * p' "$des_ratio" "$imageh" | dc | cut -d. -f1) offset=$(printf '%u %u - 2 / p' "$des_width" "$imagew" | dc) -jpegtran -crop "$des_width"f+"$offset" -outfile "tran_$1" "$1" + +if test "$REFLECT"; then + jpegtran -crop "$des_width"r+"$offset" -outfile "tran_$1" "$1" +else + jpegtran -crop "$des_width"f+"$offset" -outfile "tran_$1" "$1" +fi if [ "$wide" -gt 0 ] ; then mv ".$1_padjpegtmp.jpg" "$1" diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 7906454..80ae610 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -11,6 +11,7 @@ c.url.searchengines['s'] = 'farside.link/searxng/search?q={}' c.url.searchengines['y'] = 'farside.link/invidious/search?q={}' c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}' c.url.searchengines['a'] = 'annas-archive.org/search?q={}' +c.url.searchengines['z'] = 'zeldawiki.wiki/wiki/{}' c.url.searchengines['DEFAULT'] = c.url.searchengines['l'] c.url.start_pages = c.url.default_page = 'minifocs.fly.dev' diff --git a/qutebrowser/redirects.py b/qutebrowser/redirects.py index 17615cd..f74d551 100644 --- a/qutebrowser/redirects.py +++ b/qutebrowser/redirects.py @@ -46,6 +46,7 @@ map = { "youtu.be": invid, "youtube.com": invid, "www.youtube.com": invid, + "music.youtube.com": invid, "twitter.com": nitter, "mobile.twitter.com": nitter, @@ -65,6 +66,7 @@ map = { "www.twitch.tv" : o(s, 'm.twitch.tv'), "discord.com" : o(s, 'canary.discord.com'), "tumblr.com" : o(s, 'splashblr.fly.dev'), + "www.tumblr.com" : o(s, 'splashblr.fly.dev'), "www.npr.org" : o(s, 'text.npr.org'), "www.goodreads.com" : o(s, 'bl.vern.cc'), } diff --git a/qutebrowser/user.scss b/qutebrowser/user.scss index 71334dd..464d1b2 100644 --- a/qutebrowser/user.scss +++ b/qutebrowser/user.scss @@ -20,9 +20,9 @@ [class^="private"] [class^="search"], [href="/store"] {display: none} font-family: "Ubuntu Mono"; - background: url( - "https://cdn.discordapp.com/attachments/773556458234052608/929383713932992512/0dKbZO5-16-9.webp" -)} + background: url("https://cdn.discordapp.com/attachments/773556458234052608/1140629357505826896/out.webp"); + background-size: cover; +} div.doc-container div.doc div {max-width: 666pt !important; margin: auto} // better docs mobiles .docs-gm > #sheets-viewport > div { display: unset !important; } @@ -116,19 +116,19 @@ body>div#outer.wrapper { //ao3 } @media (prefers-color-scheme: dark) { [data-csrf-token] { // miniflux - background: #000; - color: #EEE; - --entry-content-color: #EEE; - --title-color: #EEE; - --link-color: #EEE; + background: #000; + color: #EEE; + --entry-content-color: #EEE; + --title-color: #EEE; + --link-color: #EEE; - select, textarea, input{ - background: #000 !important; - color: #fff !important; - } + select, textarea, input{ + background: #000 !important; + color: #fff !important; + } - .item { border: 1px dotted #666} - a:link {color: rgb(221, 221, 221);} - .item-status-read .item-title > a:link {color: rgb(155, 148, 148);} - .logo a span, .logo a:hover { color: #c88aff; } + .item { border: 1px dotted #666} + a:link {color: rgb(221, 221, 221);} + .item-status-read .item-title > a:link {color: rgb(155, 148, 148);} + .logo a span, .logo a:hover { color: #c88aff; } } }