mirror of
https://github.com/Phantop/dotfiles
synced 2025-01-24 05:27:19 +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)
|
||||
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"
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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'),
|
||||
}
|
||||
|
|
|
@ -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; }
|
||||
} }
|
||||
|
|
Loading…
Reference in a new issue