diff options
author | xyz <gky44px1999@gmail.com> | 2021-08-11 19:38:32 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-08-11 19:38:32 -0700 |
commit | 88142fcb71064b7340776e79494b7cd14fdd4332 (patch) | |
tree | 198ddd5dc1082548cdec3ff95fcacbd345ef7829 /.local | |
parent | 646545945cbaacd85ac637bc2b4e58ecd399050a (diff) |
refactor
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/mpvsel | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/mpvsel b/.local/bin/mpvsel index b6bc34ea..c8b6c0d3 100755 --- a/.local/bin/mpvsel +++ b/.local/bin/mpvsel @@ -6,8 +6,8 @@ fps=30 height=900 -while getopts h:f: f; do - case $f in +while getopts f:h: opt; do + case $opt in f) fps="$OPTARG";; h) height="$OPTARG";; \?) exit 1;; |