mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-28 18:28:35 -05:00
setup: add Anime4K stuff; fish: add colors setting
This commit is contained in:
parent
77e7b38ed8
commit
ea8f9b05d6
@ -106,6 +106,7 @@ cp -rfv ./home/.config/git/ ~/.config/git/
|
||||
cp -rfv ./home/.config/gtk-3.0/ ~/.config/gtk-3.0/
|
||||
cp -rfv ./home/.config/mpd/ ~/.config/mpd/
|
||||
cp -rfv ./home/.config/mpDris2/ ~/.config/mpDris2/
|
||||
cp -rfv ./home/.config/mpv/ ~/.config/mpv/
|
||||
cp -rfv ./home/.config/ncmpcpp/ ~/.config/ncmpcpp/
|
||||
cp -rfv ./home/.config/neofetch/ ~/.config/neofetch/
|
||||
cp -rfv ./home/.config/newsboat/ ~/.config/newsboat/
|
||||
|
49
home/.config/fish/conf.d/colors.fish
Normal file
49
home/.config/fish/conf.d/colors.fish
Normal file
@ -0,0 +1,49 @@
|
||||
# -------------- Nord ----------------- #
|
||||
set -g fish_color_autosuggestion 4c566a
|
||||
set -g fish_color_cancel -r
|
||||
set -g fish_color_command 81a1c1
|
||||
set -g fish_color_comment 434c5e
|
||||
set -g fish_color_cwd green
|
||||
set -g fish_color_cwd_root red
|
||||
set -g fish_color_end 88c0d0
|
||||
set -g fish_color_error ebcb8b
|
||||
set -g fish_color_escape 00a6b2
|
||||
set -g fish_color_history_current --bold
|
||||
set -g fish_color_host normal
|
||||
set -g fish_color_host_remote yellow
|
||||
set -g fish_color_match --background=brblue
|
||||
set -g fish_color_normal normal
|
||||
set -g fish_color_operator 00a6b2
|
||||
set -g fish_color_param eceff4
|
||||
set -g fish_color_quote a3be8c
|
||||
set -g fish_color_redirection b48ead
|
||||
set -g fish_color_search_match 'bryellow' '--background=brblack'
|
||||
set -g fish_color_selection 'white' '--bold' '--background=brblack'
|
||||
set -g fish_color_status red
|
||||
set -g fish_color_user brgreen
|
||||
set -g fish_color_valid_path --underline
|
||||
|
||||
# -------------- OneDark ----------------- #
|
||||
# set -g fish_color_autosuggestion 4b5263
|
||||
# set -g fish_color_cancel -r
|
||||
# set -g fish_color_command 61afef
|
||||
# set -g fish_color_comment 3e4452
|
||||
# set -g fish_color_cwd green
|
||||
# set -g fish_color_cwd_root red
|
||||
# set -g fish_color_end 56b6c2
|
||||
# set -g fish_color_error e5c07b
|
||||
# set -g fish_color_escape 00a6b2
|
||||
# set -g fish_color_history_current --bold
|
||||
# set -g fish_color_host normal
|
||||
# set -g fish_color_host_remote yellow
|
||||
# set -g fish_color_match --background=brblue
|
||||
# set -g fish_color_normal normal
|
||||
# set -g fish_color_operator 00a6b2
|
||||
# set -g fish_color_param dfdfdf
|
||||
# set -g fish_color_quote 98c379
|
||||
# set -g fish_color_redirection c678dd
|
||||
# set -g fish_color_search_match 'bryellow' '--background=brblack'
|
||||
# set -g fish_color_selection 'white' '--bold' '--background=brblack'
|
||||
# set -g fish_color_status red
|
||||
# set -g fish_color_user brgreen
|
||||
# set -g fish_color_valid_path --underline
|
7
home/.config/mpv/input.conf
Normal file
7
home/.config/mpv/input.conf
Normal file
@ -0,0 +1,7 @@
|
||||
CTRL+1 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Upscale_CNN_L_x2_Denoise.glsl:~~/shaders/Anime4K_Auto_Downscale_Pre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"; show-text "Anime4k: 480/720p (Faithful)"
|
||||
CTRL+2 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Upscale_CNN_L_x2_Denoise.glsl:~~/shaders/Anime4K_Auto_Downscale_Pre_x4.glsl:~~/shaders/Anime4K_DarkLines_HQ.glsl:~~/shaders/Anime4K_ThinLines_HQ.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"; show-text "Anime4k: 480/720p (Perceptual Quality)"
|
||||
CTRL+3 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Upscale_CNN_L_x2_Denoise.glsl:~~/shaders/Anime4K_Auto_Downscale_Pre_x4.glsl:~~/shaders/Anime4K_Deblur_DoG.glsl:~~/shaders/Anime4K_DarkLines_HQ.glsl:~~/shaders/Anime4K_ThinLines_HQ.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"; show-text "Anime4k: 480/720p (Perceptual Quality and Deblur)"
|
||||
CTRL+4 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Denoise_Bilateral_Mode.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"; show-text "Anime4k: 1080p (Faithful)"
|
||||
CTRL+5 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Denoise_Bilateral_Mode.glsl:~~/shaders/Anime4K_DarkLines_HQ.glsl:~~/shaders/Anime4K_ThinLines_HQ.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"; show-text "Anime4k: 1080p (Perceptual Quality)"
|
||||
CTRL+6 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Denoise_Bilateral_Mode.glsl:~~/shaders/Anime4K_Deblur_DoG.glsl:~~/shaders/Anime4K_DarkLines_HQ.glsl:~~/shaders/Anime4K_ThinLines_HQ.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"; show-text "Anime4k: 1080p (Perceptual Quality and Deblur)"
|
||||
CTRL+0 no-osd change-list glsl-shaders clr ""; show-text "GLSL shaders cleared"
|
11
home/.config/mpv/mpv.conf
Normal file
11
home/.config/mpv/mpv.conf
Normal file
@ -0,0 +1,11 @@
|
||||
sub-auto=fuzzy
|
||||
sub-bold=yes
|
||||
scale=ewa_lanczossharp
|
||||
cscale=ewa_lanczossharp
|
||||
video-sync=display-resample
|
||||
interpolation
|
||||
tscale=oversample
|
||||
profile=gpu-hq
|
||||
# gpu-context=wayland
|
||||
vo=gpu
|
||||
hwdec=vaapi
|
29
setup/Anime4K.sh
Executable file
29
setup/Anime4K.sh
Executable file
@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ------------------ Anime4KCPP -------------------------- #
|
||||
# Need cmake, libopencv4-devel, ocl-icd-devel, libgomp-devel
|
||||
|
||||
git clone https://github.com/TianZerl/Anime4KCPP.git
|
||||
cd Anime4KCPP || exit 1
|
||||
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
make
|
||||
|
||||
cp -f bin/Anime4KCPP_CLI ~/.local/bin/
|
||||
|
||||
cd ../..
|
||||
|
||||
echo "
|
||||
"
|
||||
|
||||
# ----------------- Anime4K shaders ---------------------- #
|
||||
echo "Version of Anime4K shaders: " | tr -d '\n' # 3.1
|
||||
read -r version
|
||||
|
||||
mkdir shaders && cd shaders
|
||||
curl -fLo Anime4K.zip https://github.com/bloc97/Anime4K/releases/download/${version}/Anime4K_v${version}.zip
|
||||
unzip Anime4K.zip && rm Anime4K.zip
|
||||
cd ..
|
||||
|
||||
cp -rfv shaders/ ~/.config/mpv/shaders/
|
@ -1,6 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
curl -fLo greenclip https://github.com/erebe/greenclip/releases/download/3.4/greenclip
|
||||
echo "Version of greenclip: " | tr -d '\n' # 3.4
|
||||
read -r version
|
||||
|
||||
curl -fLo greenclip https://github.com/erebe/greenclip/releases/download/${version}/greenclip
|
||||
chmod 755 greenclip
|
||||
if command -v doas >/dev/null
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user