Krolyxon
Commit f644a1d

Branches

Refs →

dotfiles-x11f644a1d

misc

Author
krolxon
Date
2025-04-29 15:27 +0530
Parent
6d54be5
Commit
f644a1ddc894031fe2be49b1fc980c37ed6ff22e

+7 −6

4 files changed

  1. M .config/mpv/mpv.conf +1 −1
  2. M .config/shell/aliasrc +2 −1
  3. M .local/bin/movie +3 −3
  4. M .local/bin/run_alacritty +1 −1
M .config/mpv/mpv.conf View
@@ -46,7 +46,7 @@ demuxer-mkv-subtitle-preroll=yes
4646 # Use embedded fonts for SSA/ASS subs.
4747 embeddedfonts=yes
4848 # Backward compatibility for vsfilter fansubs.
49−sub-ass-vsfilter-blur-compat=yes
49+sub-ass-use-video-data=all
5050 # Search for external subs in these relative subdirectories.
5151 sub-file-paths-append=ass
5252 sub-file-paths-append=srt
M .config/shell/aliasrc View
@@ -40,7 +40,8 @@ alias \
4040 alias \
4141 ga='git add' \
4242 gc='git commit' \
43− gp='git push'
43+ gp='git push' \
44+ gC='git clone'
4445
4546 ec() {find ~/.config -type f | fzf | xargs -r $EDITOR ;}
4647 es() { cd ~/.local/bin; $EDITOR $(fzf) ;}
M .local/bin/movie View
@@ -2,11 +2,11 @@
22
33
44 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)"
66 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)"
88 fi
99
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\)")"
1111 mpv "$(grep "$filename" <<< "$filepath")"
1212
M .local/bin/run_alacritty View
@@ -1,7 +1,7 @@
11 #!/bin/env bash
22
33 mode=$(autorandr --current)
4−if [[ $mode = 'hybrid' ]]; then
4+if [[ $mode = 'hybridnew' ]]; then
55 alacritty --config-file "$XDG_CONFIG_HOME/alacritty/docked.toml" $*
66 else
77 alacritty --config-file "$XDG_CONFIG_HOME/alacritty/normal.toml" $*