mirror of
https://github.com/Phantop/dotfiles
synced 2025-01-24 13:38:39 +00:00
qute: better discord back, zw search, no tumblr; padjpeg reflect
This commit is contained in:
parent
4f6187497a
commit
d8c178d5d5
|
@ -20,7 +20,12 @@ fi
|
||||||
|
|
||||||
des_width=$(printf '1 k %f %u * p' "$des_ratio" "$imageh" | dc | cut -d. -f1)
|
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)
|
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
|
if [ "$wide" -gt 0 ] ; then
|
||||||
mv ".$1_padjpegtmp.jpg" "$1"
|
mv ".$1_padjpegtmp.jpg" "$1"
|
||||||
|
|
|
@ -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['y'] = 'farside.link/invidious/search?q={}'
|
||||||
c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}'
|
c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}'
|
||||||
c.url.searchengines['a'] = 'annas-archive.org/search?q={}'
|
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.searchengines['DEFAULT'] = c.url.searchengines['l']
|
||||||
c.url.start_pages = c.url.default_page = 'minifocs.fly.dev'
|
c.url.start_pages = c.url.default_page = 'minifocs.fly.dev'
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@ map = {
|
||||||
"youtu.be": invid,
|
"youtu.be": invid,
|
||||||
"youtube.com": invid,
|
"youtube.com": invid,
|
||||||
"www.youtube.com": invid,
|
"www.youtube.com": invid,
|
||||||
|
"music.youtube.com": invid,
|
||||||
|
|
||||||
"twitter.com": nitter,
|
"twitter.com": nitter,
|
||||||
"mobile.twitter.com": nitter,
|
"mobile.twitter.com": nitter,
|
||||||
|
@ -65,6 +66,7 @@ map = {
|
||||||
"www.twitch.tv" : o(s, 'm.twitch.tv'),
|
"www.twitch.tv" : o(s, 'm.twitch.tv'),
|
||||||
"discord.com" : o(s, 'canary.discord.com'),
|
"discord.com" : o(s, 'canary.discord.com'),
|
||||||
"tumblr.com" : o(s, 'splashblr.fly.dev'),
|
"tumblr.com" : o(s, 'splashblr.fly.dev'),
|
||||||
|
"www.tumblr.com" : o(s, 'splashblr.fly.dev'),
|
||||||
"www.npr.org" : o(s, 'text.npr.org'),
|
"www.npr.org" : o(s, 'text.npr.org'),
|
||||||
"www.goodreads.com" : o(s, 'bl.vern.cc'),
|
"www.goodreads.com" : o(s, 'bl.vern.cc'),
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
[class^="private"] [class^="search"], [href="/store"] {display: none}
|
[class^="private"] [class^="search"], [href="/store"] {display: none}
|
||||||
|
|
||||||
font-family: "Ubuntu Mono";
|
font-family: "Ubuntu Mono";
|
||||||
background: url(
|
background: url("https://cdn.discordapp.com/attachments/773556458234052608/1140629357505826896/out.webp");
|
||||||
"https://cdn.discordapp.com/attachments/773556458234052608/929383713932992512/0dKbZO5-16-9.webp"
|
background-size: cover;
|
||||||
)}
|
}
|
||||||
|
|
||||||
div.doc-container div.doc div {max-width: 666pt !important; margin: auto} // better docs mobiles
|
div.doc-container div.doc div {max-width: 666pt !important; margin: auto} // better docs mobiles
|
||||||
.docs-gm > #sheets-viewport > div { display: unset !important; }
|
.docs-gm > #sheets-viewport > div { display: unset !important; }
|
||||||
|
|
Loading…
Reference in a new issue