mirror of https://github.com/Phantop/dotfiles
qute: fix discord theme, add some searches, fix x redirect
This commit is contained in:
parent
82a2eb3fd5
commit
ecae12c372
|
@ -41,6 +41,8 @@ def wikipedia(url: QUrl) -> bool:
|
||||||
def github(url: QUrl) -> bool:
|
def github(url: QUrl) -> bool:
|
||||||
return farside(url, '/gothub/')
|
return farside(url, '/gothub/')
|
||||||
|
|
||||||
|
twitter = o(s, 'unrollnow.com')
|
||||||
|
|
||||||
m = {
|
m = {
|
||||||
"reddit.com": reddit,
|
"reddit.com": reddit,
|
||||||
"www.reddit.com": reddit,
|
"www.reddit.com": reddit,
|
||||||
|
|
|
@ -3,9 +3,11 @@ c.url.searchengines['4'] = 'farside.link/4get/web?s={}'
|
||||||
c.url.searchengines['4'] = '4get.fly.dev/web?s={}'
|
c.url.searchengines['4'] = '4get.fly.dev/web?s={}'
|
||||||
c.url.searchengines['a'] = 'annas-archive.org/search?q={}'
|
c.url.searchengines['a'] = 'annas-archive.org/search?q={}'
|
||||||
c.url.searchengines['aw'] = 'wiki.archlinux.org/title/{}'
|
c.url.searchengines['aw'] = 'wiki.archlinux.org/title/{}'
|
||||||
|
c.url.searchengines['g'] = 'github.com/search?q={}'
|
||||||
c.url.searchengines['l'] = 'farside.link/librey/search.php?q={}'
|
c.url.searchengines['l'] = 'farside.link/librey/search.php?q={}'
|
||||||
c.url.searchengines['l'] = 'search.ahwx.org/search.php?q={}'
|
c.url.searchengines['l'] = 'search.ahwx.org/search.php?q={}'
|
||||||
c.url.searchengines['m'] = 'search.marginalia.nu/search?query={}'
|
c.url.searchengines['m'] = 'search.marginalia.nu/search?query={}'
|
||||||
|
c.url.searchengines['mw'] = 'mwmbl.org/?q={}'
|
||||||
c.url.searchengines['s'] = 'farside.link/searxng/search?q={}'
|
c.url.searchengines['s'] = 'farside.link/searxng/search?q={}'
|
||||||
c.url.searchengines['w'] = 'farside.link/wikiless/wiki/{}?lang=en'
|
c.url.searchengines['w'] = 'farside.link/wikiless/wiki/{}?lang=en'
|
||||||
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'
|
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'
|
||||||
|
|
|
@ -7,23 +7,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-mount { //discord
|
#app-mount { //discord
|
||||||
$back: primary, secondary, secondary-alt, tertiary;
|
--background-primary: #27212d;
|
||||||
@each $i in $back {--background-#{$i}: transparent}
|
--background-tertiary: var(--background-primary);
|
||||||
|
--background-secondary: var(--background-primary);
|
||||||
--background-floating: rgba(0, 0, 0, .6);
|
--channeltextarea-background: #4a3657;
|
||||||
--channeltextarea-background: transparent;
|
--background-secondary-alt: var(--background-secondary);
|
||||||
[class^="container"], section {background: transparent}
|
|
||||||
#channels [class^="unread"] {background: #cfcdcf}
|
|
||||||
|
|
||||||
|
font-family: "Ubuntu Mono";
|
||||||
$aria: gift, Help, Inbox;
|
$aria: gift, Help, Inbox;
|
||||||
@each $i in $aria {[aria-label$="#{$i}"] {display: none}}
|
@each $i in $aria {[aria-label$="#{$i}"] {display: none}}
|
||||||
[class^="private"] [class^="search"], [href="/store"], [href="/shop"] {display: none}
|
[class^="private"] [class^="search"], [href="/store"], [href="/shop"] {display: none}
|
||||||
|
|
||||||
[aria-label="Servers"] + div { display: none; + div { display: none; + div + div { display: none; } } }
|
[aria-label="Servers"] + div { display: none; + div { display: none; + div + div { display: none; } } }
|
||||||
|
|
||||||
font-family: "Ubuntu Mono";
|
|
||||||
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
|
div.doc-container div.doc div {max-width: 666pt !important; margin: auto} // better docs mobiles
|
||||||
|
|
Loading…
Reference in New Issue