From 0b94855be6295f6e627df9157101b3fb7b834d3a Mon Sep 17 00:00:00 2001 From: Phantop Date: Sun, 2 Oct 2022 23:02:15 -0400 Subject: [PATCH] screw dotfile commit names --- bin/aliases | 6 +++--- bin/jqf | 5 +++++ nvim/init.lua | 2 ++ qutebrowser/config.py | 2 +- zathura/zathurarc | 1 + 5 files changed, 12 insertions(+), 4 deletions(-) create mode 100755 bin/jqf diff --git a/bin/aliases b/bin/aliases index eef552b..bf6dc01 100755 --- a/bin/aliases +++ b/bin/aliases @@ -64,8 +64,8 @@ a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv a dwarf 'mkdwarfs -i . -o $PWD.dwarfs' a dwarfmount 'dwarfs -f $argv (mktemp -d | tee /dev/tty /dev/stderr 2>| clip);:' a dwarfs 'dwarfs -o offset=auto -o tidy_strategy=swap' -a dwarfs2null 'dwarfsextract -o /dev/null -f ustar -i' -a dwarfs2tar 'dwarfsextract -o dwarfs-root.tar -f ustar -i' +a dwarfs2null 'dwarfsextract -o /dev/null -f gnutar -i' +a dwarfs2tar 'dwarfsextract -o dwarfs-root.tar -f gnutar -i' a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i' a squash 'mksquashfs . $PWD.squashfs -comp zstd -b 1M -Xcompression-level 22' a undwarfs 'mkdir dwarfs-root; dwarfsextract -o dwarfs-root -i' @@ -76,7 +76,7 @@ for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1) a $i "qutebrowser / \":open $i\"" end -for i in deemix nsz scdl soundscrape spleeter +for i in deemix nsz ratarmount scdl soundscrape spleeter a $i "pipx run $i" end diff --git a/bin/jqf b/bin/jqf new file mode 100755 index 0000000..df664c2 --- /dev/null +++ b/bin/jqf @@ -0,0 +1,5 @@ +#!/bin/sh +in=$(mktemp) +cat /dev/stdin > "$in" +fzf --preview-window='up:99%' --preview "jq --color-output -r {q} $in $1" +rm -f "$in" diff --git a/nvim/init.lua b/nvim/init.lua index aa7f714..e9c1c2e 100755 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -47,4 +47,6 @@ command Q q! filetype plugin indent on syntax enable PaqSync + +autocmd BufReadPost,FileReadPost *.bz3 call gzip#read("bzip3 -d") ]] diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 7a0a315..05df9cc 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -11,7 +11,7 @@ c.confirm_quit = ['downloads'] c.downloads.location.directory = '~/Downloads' c.qt.workarounds.remove_service_workers = True -c.url.searchengines['l'] = 'farside.link/librex/search.php?q={}' +c.url.searchengines['l'] = 'librex.catalyst.sx/search.php?q={}' c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}' c.url.searchengines['s'] = 'farside.link/searxng/search?q={}' c.url.searchengines['y'] = 'farside.link/invidious/search?q={}' diff --git a/zathura/zathurarc b/zathura/zathurarc index 3cf4dbf..d2327bf 100755 --- a/zathura/zathurarc +++ b/zathura/zathurarc @@ -7,3 +7,4 @@ set recolor-keephue set recolor-reverse-video set recolor-darkcolor '#FFFFFF' map set recolor-reverse-video +map set 'default-bg \#EEE'