diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index ffaab36..ecc566c 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -46,7 +46,7 @@ demuxer-mkv-subtitle-preroll=yes # Use embedded fonts for SSA/ASS subs. embeddedfonts=yes # Backward compatibility for vsfilter fansubs. -sub-ass-vsfilter-blur-compat=yes +sub-ass-use-video-data=all # Search for external subs in these relative subdirectories. sub-file-paths-append=ass sub-file-paths-append=srt diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 21c6a12..fcfe922 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -40,7 +40,8 @@ alias \ alias \ ga='git add' \ gc='git commit' \ - gp='git push' + gp='git push' \ + gC='git clone' ec() {find ~/.config -type f | fzf | xargs -r $EDITOR ;} es() { cd ~/.local/bin; $EDITOR $(fzf) ;} diff --git a/.local/bin/movie b/.local/bin/movie index 5ac8795..204cbe6 100755 --- a/.local/bin/movie +++ b/.local/bin/movie @@ -2,11 +2,11 @@ if [ -t 0 ]; then - filename="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)" + filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)" else - filename="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | dmenu -l 25)" + filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | dmenu -l 25)" fi -filepath="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")" +filepath="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")" mpv "$(grep "$filename" <<< "$filepath")" diff --git a/.local/bin/run_alacritty b/.local/bin/run_alacritty index e88a2fd..af0ecc2 100755 --- a/.local/bin/run_alacritty +++ b/.local/bin/run_alacritty @@ -1,7 +1,7 @@ #!/bin/env bash mode=$(autorandr --current) -if [[ $mode = 'hybrid' ]]; then +if [[ $mode = 'hybridnew' ]]; then alacritty --config-file "$XDG_CONFIG_HOME/alacritty/docked.toml" $* else alacritty --config-file "$XDG_CONFIG_HOME/alacritty/normal.toml" $*