diff --git a/dot-config/fish/config.fish b/dot-config/fish/config.fish index 58c90f9..9e02963 100644 --- a/dot-config/fish/config.fish +++ b/dot-config/fish/config.fish @@ -1,6 +1,7 @@ set -x EDITOR nvim set -x PAGER most set -x MANPAGER "nvim -c 'set ft=man' -" +set D ~ test (hostname) = aperture && set D /mnt/LocalDiskD/ diff --git a/dot-config/qutebrowser/config.py b/dot-config/qutebrowser/config.py index 86f47ab..af9536f 100644 --- a/dot-config/qutebrowser/config.py +++ b/dot-config/qutebrowser/config.py @@ -34,12 +34,11 @@ c.aliases['mpv4'] = mpv + ' --ytdl-format=bestvideo[vcodec^=avc1]+bestaudio' c.aliases['remove-sticky'] = 'jseval -q !function(){var e,o=document.querySelectorAll("body *");for(e=0;e/dev/null);:' a bax 'source (which bax) && bax' a cd 'cd (realpath $argv 2> /dev/null);:' @@ -22,7 +22,7 @@ a la 'l -a' a less 'eval $PAGER' a off shutdown a offh 'off (math "60*"$argv);:' -a open rifle +a open xdg-open a pagedl 'wget -H -k -p --no-clobber -e robots=off' a png2webp 'fd -e png -x cwebp -z 9 -mt {} -o {.}.webp && fd -e png -x rm' a qutainer 'qutebrowser -B /tmp' @@ -34,6 +34,7 @@ a s 'sudo env "PATH=$PATH"' a se 's eopkg' a spleet 'spleeter separate -o . -c flac' a ta 'tmux a -t (math 0 + "0$argv");:' +a tar bsdtar a up 'se up --y' a v vi a vi nvim diff --git a/dot-local/bin/hitolo b/dot-local/bin/hitolo index 82756c2..df6e4bc 100755 --- a/dot-local/bin/hitolo +++ b/dot-local/bin/hitolo @@ -5,6 +5,7 @@ test $argv && set LOFI $argv test -f /usr/share/man/man3/Parallel::ForkManager.3 || sudo eopkg it perl-parallel-forkmanager mkdir /tmp/vox +fusermount -u /tmp/vox ifuse --documents com.coppertino.VoxMobile /tmp/vox if not test -d $LOFI diff --git a/dot-local/bin/optiall b/dot-local/bin/optiall index ca563ac..9d5f2ad 100755 --- a/dot-local/bin/optiall +++ b/dot-local/bin/optiall @@ -1,6 +1,6 @@ #!/bin/bash fd -e pdf -x cpdfsqueeze {} {} fd -e png -x oxipng -fd -e{epub,zip,cbz,jar,docx} -x advzip -z4 +fd -e{epub,zip,cbz,jar,docx,odt,apk} -x advzip -z4 fd -ejp{e,}g -x jpegoptim fd -e webp -x cwebp -z 9 -mt {} -o {} diff --git a/dot-local/bin/setup b/dot-local/bin/setup index 6e9196e..17d3e8b 100755 --- a/dot-local/bin/setup +++ b/dot-local/bin/setup @@ -4,7 +4,7 @@ sudo eopkg rm -y firefox $gnome hexchat onboard thunderbird audio="audacious audacious-plugins audacity opus-tools quodlibet spek" dev="ccache docker-compose git-extras llvm-clang neovim parallel solbuild tig upx" -gui="abiword bleachbit caja gmic-gimp engrampa keepassxc kitty lutris vorta" +gui="bleachbit caja gmic-gimp engrampa keepassxc kitty lutris vorta" media="avidemux gaupol jpegoptim mpv playerctl usbmuxd viewnior zathura-poppler" rice="adapta-gtk-theme ant-dracula-gtk-theme font-ubuntu-ttf rofi starship stow" term="advancecomp autojump fd fish fzf innoextract most ncdu p7zip ranger ripgrep tmux"