From e000ba96a0130eb8395b71d4f6226fc92659383f Mon Sep 17 00:00:00 2001 From: Phantop Date: Sun, 13 Nov 2022 15:22:41 -0500 Subject: [PATCH] fish: update setup, source, hitolo organization --- bin/aliases | 2 ++ bin/hitolo | 2 +- bin/optiall | 3 +-- fish/config.fish | 9 ++++----- mpv/mpv.conf | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bin/aliases b/bin/aliases index ee033b4..920b7be 100755 --- a/bin/aliases +++ b/bin/aliases @@ -6,6 +6,8 @@ curl -sL https://git.io/fisher | source fisher install {jorgebucaran/replay,PatrickF1/fzf}.fish set -U fish_features 3.{0,1,4} fish_update_completions +ln -s /usr/share/autojump/autojump.fish ~/.config/fish/conf.d +starship init fish --print-full-init > ~/.config/fish/conf.d/starship.fish alias a 'alias -s' a acmus 'timeout (math 60 - (date +%M))m mpv --loop https://acmusicext.com/static/$argv/sunny/(date +%-I%P).ogg' diff --git a/bin/hitolo b/bin/hitolo index 16403e2..c5de047 100755 --- a/bin/hitolo +++ b/bin/hitolo @@ -1,7 +1,7 @@ #!/bin/sh HIFI=~/Music/HiFi LOFI=/tmp/foo -test -f /usr/share/man/man3/Parallel::ForkManager.3 || sudo eopkg it perl-parallel-forkmanager +test -f /usr/share/man/man3/Parallel::ForkManager.3pm || sudo eopkg it perl-parallel-forkmanager if test $# -eq 0; then mkdir "$LOFI" diff --git a/bin/optiall b/bin/optiall index 65633f7..3d4dc74 100755 --- a/bin/optiall +++ b/bin/optiall @@ -7,7 +7,6 @@ fd -e webp -x cwebp -z 9 -mt {} -o {} fd -t f -x advzip -z3 fd -t f -x advdef -z3 -fd -e mp3 -x mp3packer -fd -e mp3 -x rename -- -vbr '' +fd -e mp3 -x mp3packer \; -x rename -- -vbr '' fd -e so -x strip diff --git a/fish/config.fish b/fish/config.fish index 7dd0592..1b81878 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -6,7 +6,7 @@ set fish_color_command --bold set fish_color_comment red set fish_color_end brmagenta set fish_color_error brred -set fish_color_escape 'bryellow' '--bold' +set fish_color_escape 'bryellow' '--bold' set fish_color_match --background=brblue set fish_color_operator bryellow set fish_color_param cyan @@ -15,11 +15,10 @@ set fish_color_redirection brblue set fish_color_status red set fish_color_user brgreen set fish_color_valid_path --underline -set fish_pager_color_prefix 'white' '--bold' '--underline' +set fish_pager_color_prefix 'white' '--bold' '--underline' bind \ed 'ncdu' -bind \ef 'fzf | clip' +bind \ef '_fzf_wrapper | clip' bind \e\co 'open (_fzf_wrapper)' -source /usr/share/autojump/autojump.fish -tty -s && starship init fish --print-full-init | source && echo -en "\e[5 q" +printf "\e[5 q" diff --git a/mpv/mpv.conf b/mpv/mpv.conf index b5f4204..dde7512 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -16,7 +16,7 @@ sub-file-paths = ../Subtitles:./Subtitles:../Subs:./Subs use-filedir-conf sub-font = Funimitation -sub-font-size = 36 +sub-font-size = 24 ytdl-raw-options=sub-lang=en