diff options
Diffstat (limited to '.config/fish')
| -rw-r--r-- | .config/fish/.gitignore | 1 | ||||
| -rw-r--r-- | .config/fish/colors.fish | 8 | ||||
| -rw-r--r-- | .config/fish/conf.d/fish_frozen_key_bindings.fish | 14 | ||||
| -rw-r--r-- | .config/fish/conf.d/fish_frozen_theme.fish | 37 | ||||
| -rw-r--r-- | .config/fish/config.fish | 3 | ||||
| -rw-r--r-- | .config/fish/fish_variables | 30 |
6 files changed, 59 insertions, 34 deletions
diff --git a/.config/fish/.gitignore b/.config/fish/.gitignore new file mode 100644 index 0000000..c989a98 --- /dev/null +++ b/.config/fish/.gitignore @@ -0,0 +1 @@ +secret.fish diff --git a/.config/fish/colors.fish b/.config/fish/colors.fish index fdc8987..05a70cb 100644 --- a/.config/fish/colors.fish +++ b/.config/fish/colors.fish @@ -9,15 +9,15 @@ set fish_color_error white set fish_color_param white set fish_color_valid_path white set fish_color_option white -set fish_color_comment "#a8afb7" +set fish_color_comment "#323b46" set fish_color_operator white set fish_color_escape yellow -set fish_color_autosuggestion "#a8afb7" +set fish_color_autosuggestion "#323b46" set fish_color_search_match --background=black # pager set fish_pager_color_progress "#a8afb7" set fish_pager_color_prefix white -set fish_pager_color_completion "#a8afb7" +set fish_pager_color_completion white --bold set fish_pager_color_description "#a8afb7" -set fish_pager_color_selected_background --background=black +set fish_pager_color_selected_background --background="#171c22" diff --git a/.config/fish/conf.d/fish_frozen_key_bindings.fish b/.config/fish/conf.d/fish_frozen_key_bindings.fish new file mode 100644 index 0000000..495aee9 --- /dev/null +++ b/.config/fish/conf.d/fish_frozen_key_bindings.fish @@ -0,0 +1,14 @@ +# This file was created by fish when upgrading to version 4.3, to migrate +# the 'fish_key_bindings' variable from its old default scope (universal) +# to its new default scope (global). We recommend you delete this file +# and configure key bindings in ~/.config/fish/config.fish if needed. + +# set --global fish_key_bindings fish_default_key_bindings + +# Prior to version 4.3, fish shipped an event handler that runs +# `set --universal fish_key_bindings fish_default_key_bindings` +# whenever the fish_key_bindings variable is erased. +# This means that as long as any fish < 4.3 is still running on this system, +# we cannot complete the migration. +# As a workaround, erase the universal variable at every shell startup. +set --erase --universal fish_key_bindings diff --git a/.config/fish/conf.d/fish_frozen_theme.fish b/.config/fish/conf.d/fish_frozen_theme.fish new file mode 100644 index 0000000..bffe9ad --- /dev/null +++ b/.config/fish/conf.d/fish_frozen_theme.fish @@ -0,0 +1,37 @@ +# This file was created by fish when upgrading to version 4.3, to migrate +# theme variables from universal to global scope. +# Don't edit this file, as it will be written by the web-config tool (`fish_config`). +# To customize your theme, delete this file and see +# help interactive#syntax-highlighting +# or +# man fish-interactive | less +/^SYNTAX.HIGHLIGHTING +# for appropriate commands to add to ~/.config/fish/config.fish instead. +# See also the release notes for fish 4.3.0 (run `help relnotes`). + +set --global fish_color_autosuggestion '#323b46' +set --global fish_color_cancel -r +set --global fish_color_command white +set --global fish_color_comment '#323b46' +set --global fish_color_cwd green +set --global fish_color_cwd_root red +set --global fish_color_end pink +set --global fish_color_error white +set --global fish_color_escape yellow +set --global fish_color_history_current --bold +set --global fish_color_host normal +set --global fish_color_host_remote yellow +set --global fish_color_normal white +set --global fish_color_operator white +set --global fish_color_param white +set --global fish_color_quote yellow +set --global fish_color_redirection yellow +set --global fish_color_search_match --background=black +set --global fish_color_selection white --bold --background=brblack +set --global fish_color_status red +set --global fish_color_user brgreen +set --global fish_color_valid_path white +set --global fish_pager_color_completion white --bold +set --global fish_pager_color_description '#a8afb7' +set --global fish_pager_color_prefix white +set --global fish_pager_color_progress '#a8afb7' +set --global fish_pager_color_selected_background '--background=#171c22' diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 97e55eb..47dca4e 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -112,7 +112,8 @@ direnv hook fish | source function dl yt-dlp -v --download-archive "archive.txt" \ - --write-info-json --write-thumbnail --embed-subs --embed-thumbnail --embed-metadata \ + --write-info-json --write-thumbnail --embed-thumbnail --embed-metadata \ + --write-subs --sub-langs all --sub-format=srv3 \ --merge-output-format "mkv" -f "bestvideo[height<=1080][width<=1920]+bestaudio" \ --abort-on-error -o "files/%(extractor_key)s%(id)s/item.%(ext)s" \ --extractor-args "youtube:player-client=default,mweb" $argv diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 2ac8f35..f8d1652 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -1,34 +1,6 @@ # This file contains fish universal variable definitions. # VERSION: 3.0 SETUVAR __done_exclude:lite\x2dxl -SETUVAR __fish_initialized:3800 -SETUVAR fish_color_autosuggestion:\x2377828c -SETUVAR fish_color_cancel:\x2dr -SETUVAR fish_color_command:white -SETUVAR fish_color_comment:\x2377828c -SETUVAR fish_color_cwd:green -SETUVAR fish_color_cwd_root:red -SETUVAR fish_color_end:pink -SETUVAR fish_color_error:white -SETUVAR fish_color_escape:yellow -SETUVAR fish_color_history_current:\x2d\x2dbold -SETUVAR fish_color_host:normal -SETUVAR fish_color_host_remote:yellow -SETUVAR fish_color_normal:white -SETUVAR fish_color_operator:white -SETUVAR fish_color_param:white -SETUVAR fish_color_quote:yellow -SETUVAR fish_color_redirection:yellow -SETUVAR fish_color_search_match:\x2d\x2dbackground\x3dblack -SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack -SETUVAR fish_color_status:red -SETUVAR fish_color_user:brgreen -SETUVAR fish_color_valid_path:white +SETUVAR __fish_initialized:4300 SETUVAR fish_greeting:\x1d -SETUVAR fish_key_bindings:fish_default_key_bindings -SETUVAR fish_pager_color_completion:\x2377828c -SETUVAR fish_pager_color_description:\x2377828c -SETUVAR fish_pager_color_prefix:white -SETUVAR fish_pager_color_progress:\x2377828c -SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dblack SETUVAR fish_user_paths:/home/delta/\x2elocal/share/pnpm\x1e/home/delta/\x2elocal/bin\x1e/home/delta/\x2elocal/share/cargo/bin\x1e/home/delta/\x2elocal/share/gem/ruby/3\x2e0\x2e0/bin\x1e/home/delta/\x2elocal/share/go/bin\x1e/home/delta/\x2edetaspace/bin\x1e/usr/local/texlive/2023/bin/x86_64\x2dlinux |
