qute: bring back hacker news theme

This commit is contained in:
Phantop 2022-01-21 14:09:32 -05:00
parent 1ca2bc22a3
commit f6aa7a0e98
5 changed files with 20 additions and 7 deletions

View File

@ -1,13 +1,12 @@
#!/usr/bin/fish
alias a 'alias -s'
a aliases 'v (which aliases); command aliases'
a aliases 'v (env which aliases); command aliases'
a all2jxl 'fd -e{png,jpg} -x cjxl -e 8 -d 0 {} {.}.jxl && fd -e{png,jpg} -x rm'
a ao3 'grep epub $argv | cut -d\" -f4 | parallel aria2c "https://ao3.org{}" -dao3;rm'
a base64d 'echo (echo $argv | base64 -d 2>/dev/null);:'
a bax 'source (which bax) && bax'
a catbox 'curl https://catbox.moe/user/api.php -F reqtype=fileupload -F fileToUpload=@$argv;:'
a cd 'cd (realpath $argv 2> /dev/null);:'
a clip 'xclip -sel clip'
a cpugov 's cpupower frequency-set -g performance'
a dirdl 'wget -r -k -p --no-parent --no-clobber -e robots=off -R "index.html*"'

View File

@ -3,4 +3,4 @@ DIR=~/dwarf/$(basename "$@" .dwarfs)$RANDOM
mkdir -p "$DIR"
echo "$DIR"
dwarfs -o offset=auto -o tidy_strategy=swap -f "$@" "$DIR" 2> /dev/null
rmdir "$DIR" ~/dwarf 2> /dev/null
rmdir -p "$DIR" 2> /dev/null

View File

@ -0,0 +1,17 @@
// ==UserScript==
// @name Hacker Blues
// @include https://news.ycombinator.com/*
// ==/UserScript==
document.head.appendChild(document.createElement('style')).innerHTML=`
body {
background: #2b3033 !important;
color: #f0ffff !important;
}
body > center > table[width="85%"] {
background: #212121 !important;
box-shadow: 0px 0px 30px 3px rgba(0, 0, 0, 0.2) !important;
}
td[bgcolor="#ff6600"] {
background: linear-gradient(to top, #45515b 0%, #4b5762 100%) !important;
}`
document.body.style.zoom=1.15;

View File

@ -2,7 +2,6 @@
// @name WhiteList
// @match https://archiveofourown.org/*
// @match https://canary.discord.com/*
// @match https://drop.lol/*
// @match https://mail.tutanota.com/*
// @match https://teddit.net/*
// ==/UserScript==

View File

@ -1,7 +1,5 @@
dial https://covid19.rpi.edu/dailycheckin
discord https://canary.discord.com/app
drop https://drop.lol
hn https://darkhn.herokuapp.com
hn https://news.ycombinator.com/
lms https://lms.rpi.edu/ultra/stream
submitty https://submitty.cs.rpi.edu/courses/s22/csci2200
tuta https://mail.tutanota.com