This commit is contained in:
krolxon 2025-04-29 15:27:26 +05:30
parent 6d54be5aeb
commit f644a1ddc8
4 changed files with 7 additions and 6 deletions

View File

@ -46,7 +46,7 @@ demuxer-mkv-subtitle-preroll=yes
# Use embedded fonts for SSA/ASS subs. # Use embedded fonts for SSA/ASS subs.
embeddedfonts=yes embeddedfonts=yes
# Backward compatibility for vsfilter fansubs. # 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. # Search for external subs in these relative subdirectories.
sub-file-paths-append=ass sub-file-paths-append=ass
sub-file-paths-append=srt sub-file-paths-append=srt

View File

@ -40,7 +40,8 @@ alias \
alias \ alias \
ga='git add' \ ga='git add' \
gc='git commit' \ gc='git commit' \
gp='git push' gp='git push' \
gC='git clone'
ec() {find ~/.config -type f | fzf | xargs -r $EDITOR ;} ec() {find ~/.config -type f | fzf | xargs -r $EDITOR ;}
es() { cd ~/.local/bin; $EDITOR $(fzf) ;} es() { cd ~/.local/bin; $EDITOR $(fzf) ;}

View File

@ -2,11 +2,11 @@
if [ -t 0 ]; then 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 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 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")" mpv "$(grep "$filename" <<< "$filepath")"

View File

@ -1,7 +1,7 @@
#!/bin/env bash #!/bin/env bash
mode=$(autorandr --current) mode=$(autorandr --current)
if [[ $mode = 'hybrid' ]]; then if [[ $mode = 'hybridnew' ]]; then
alacritty --config-file "$XDG_CONFIG_HOME/alacritty/docked.toml" $* alacritty --config-file "$XDG_CONFIG_HOME/alacritty/docked.toml" $*
else else
alacritty --config-file "$XDG_CONFIG_HOME/alacritty/normal.toml" $* alacritty --config-file "$XDG_CONFIG_HOME/alacritty/normal.toml" $*