From 22047d60403134b391703371b3406bf3ea5f1dd9 Mon Sep 17 00:00:00 2001 From: Anton Bilous Date: Sat, 8 Nov 2025 12:20:56 +0200 Subject: [PATCH] a --- .config/fish/conf.d/abbr.fish | 3 +- .config/hypr/binds.conf | 4 +-- .config/mpv/mpv.conf | 53 ++++++++++++++++++++++++----------- 3 files changed, 40 insertions(+), 20 deletions(-) diff --git a/.config/fish/conf.d/abbr.fish b/.config/fish/conf.d/abbr.fish index f23f3f9..f3e45d2 100644 --- a/.config/fish/conf.d/abbr.fish +++ b/.config/fish/conf.d/abbr.fish @@ -6,7 +6,8 @@ abbr m mkdir abbr o open abbr t trash put # abbr m mpv -abbr mm -- mpv --shuffle \$XDG_MUSIC_DIR +abbr ma -- mpv --profile=anime . +abbr mm -- mpv --profile=music --shuffle \$XDG_MUSIC_DIR abbr lg lazygit # abbr dots -- git --git-dir \~/.dotfiles/ --work-tree \~ diff --git a/.config/hypr/binds.conf b/.config/hypr/binds.conf index 1423a9c..8c554aa 100644 --- a/.config/hypr/binds.conf +++ b/.config/hypr/binds.conf @@ -150,8 +150,8 @@ bind = SHIFT, T, exec, killall Telegram bind = SHIFT, T, submap, reset bind =, S, exec, killall signal-desktop || signal-desktop bind =, S, submap, reset -# bind =, M, exec, nheko -# bind =, M, submap, reset +bind =, M, exec, mpv --force-window --idle +bind =, M, submap, reset bind =, E, exec, kitty helix bind =, E, submap, reset bind =, N, exec, nheko diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index f9f706f..0a9e878 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -1,28 +1,47 @@ -# volume=50 hwdec=auto + +cache=yes +cache-pause +demuxer-max-bytes=4GiB +demuxer-max-back-bytes=8GiB +force-seekable + ytdl-format=bestvideo[height<=?1080][vcodec!=?av01]+bestaudio/best + +# keep-open=yes + +screenshot-format=png +screenshot-png-compression=7 + +profile=gpu-hq + + +[music] +profile-desc="listening to music" +volume=50 +resume-playback=no +save-watch-history + + +[anime] +profile-desc="watching anime" + +alang=jpn,ja +audio-file-auto=fuzzy # sub-pos=10 +slang=eng,en +sub-auto=fuzzy + +resume-playback +save-position-on-quit +ignore-path-in-watch-later-config +write-filename-in-watch-later-config +save-watch-history -# sub-visibility=yes -# sub-auto=fuzzy -# alang=jpn -# slang=jpn -# audio-file-auto=fuzzy -# save-position-on-quit=yes # autofit-larger=100%x100% # geometry=50%:50% # sid=10,1 # ontop # osd-on-seek=no -# cache-pause -# cache=yes -# demuxer-max-back-bytes=500000MiB -# demuxer-max-bytes=500000MiB -# force-seekable=yes -# keep-open=yes # script-opts=ytdl_hook-ytdl_path=yt-dlp -# #Basic quality profile which sets some settings (Highly recommended) -# profile=gpu-hq -# #Higher value means better quality -# screenshot-jpeg-quality=95