dotfiles-x11f644a1d
misc
+7 −6
4 files changed
- M .config/mpv/mpv.conf +1 −1
- M .config/shell/aliasrc +2 −1
- M .local/bin/movie +3 −3
- M .local/bin/run_alacritty +1 −1
| @@ -46,7 +46,7 @@ demuxer-mkv-subtitle-preroll=yes | |||
| 46 | 46 | # Use embedded fonts for SSA/ASS subs. | |
| 47 | 47 | embeddedfonts=yes | |
| 48 | 48 | # Backward compatibility for vsfilter fansubs. | |
| 49 | − | sub-ass-vsfilter-blur-compat=yes | |
| 49 | + | sub-ass-use-video-data=all | |
| 50 | 50 | # Search for external subs in these relative subdirectories. | |
| 51 | 51 | sub-file-paths-append=ass | |
| 52 | 52 | sub-file-paths-append=srt | |
| @@ -40,7 +40,8 @@ alias \ | |||
| 40 | 40 | alias \ | |
| 41 | 41 | ga='git add' \ | |
| 42 | 42 | gc='git commit' \ | |
| 43 | − | gp='git push' | |
| 43 | + | gp='git push' \ | |
| 44 | + | gC='git clone' | |
| 44 | 45 | ||
| 45 | 46 | ec() {find ~/.config -type f | fzf | xargs -r $EDITOR ;} | |
| 46 | 47 | es() { cd ~/.local/bin; $EDITOR $(fzf) ;} | |
| @@ -2,11 +2,11 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | 4 | if [ -t 0 ]; then | |
| 5 | − | filename="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)" | |
| 5 | + | filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)" | |
| 6 | 6 | else | |
| 7 | − | filename="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | dmenu -l 25)" | |
| 7 | + | filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | dmenu -l 25)" | |
| 8 | 8 | fi | |
| 9 | 9 | ||
| 10 | − | filepath="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")" | |
| 10 | + | filepath="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")" | |
| 11 | 11 | mpv "$(grep "$filename" <<< "$filepath")" | |
| 12 | 12 | ||
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | #!/bin/env bash | |
| 2 | 2 | ||
| 3 | 3 | mode=$(autorandr --current) | |
| 4 | − | if [[ $mode = 'hybrid' ]]; then | |
| 4 | + | if [[ $mode = 'hybridnew' ]]; then | |
| 5 | 5 | alacritty --config-file "$XDG_CONFIG_HOME/alacritty/docked.toml" $* | |
| 6 | 6 | else | |
| 7 | 7 | alacritty --config-file "$XDG_CONFIG_HOME/alacritty/normal.toml" $* | |