diff --git a/bin/aliases b/bin/aliases index 5edbd60..dac2576 100755 --- a/bin/aliases +++ b/bin/aliases @@ -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*"' diff --git a/bin/dwarfmount b/bin/dwarfmount index 57fc364..57a3686 100755 --- a/bin/dwarfmount +++ b/bin/dwarfmount @@ -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 diff --git a/qutebrowser/greasemonkey/hnews.js b/qutebrowser/greasemonkey/hnews.js new file mode 100644 index 0000000..bf023ec --- /dev/null +++ b/qutebrowser/greasemonkey/hnews.js @@ -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; diff --git a/qutebrowser/greasemonkey/white.js b/qutebrowser/greasemonkey/white.js index bed7627..bfbbfa9 100644 --- a/qutebrowser/greasemonkey/white.js +++ b/qutebrowser/greasemonkey/white.js @@ -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== diff --git a/qutebrowser/quickmarks b/qutebrowser/quickmarks index b55c768..6511773 100644 --- a/qutebrowser/quickmarks +++ b/qutebrowser/quickmarks @@ -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