Scripts : some script added.

This commit is contained in:
2022-01-29 18:47:14 +09:00
parent 99da2dc79b
commit e5e0f29c91
3 changed files with 31 additions and 2 deletions

View File

@ -660,13 +660,13 @@ https://emacs.stackexchange.com/a/30691
:init :init
(marginalia-mode)) (marginalia-mode))
(use-package vertico-posframe (use-package vertico-posframe
;;:disabled :disabled
:after vertico :after vertico
:ensure t :ensure t
:init :init
(setq vertico-posframe-parameters (setq vertico-posframe-parameters
`((left-fringe . 8) `((left-fringe . 8)
(right-fringe . 8) (alpha . 100))) (right-fringe . 8) (alpha . 75)))
(vertico-posframe-mode 1)) (vertico-posframe-mode 1))
#+end_src #+end_src
** Orderless ** Orderless

26
scripts/encoding_500kbps.sh Executable file
View File

@ -0,0 +1,26 @@
#!/bin/bash
#Input Directory
input_dir=/mnt/wsl/PHYSICALDRIVE1/input/WAAA
output_dir=~/Downloads/input
walk_dir () {
shopt -s nullglob dotglob
for pathname in "$1"/*; do
if [ -d "$pathname" ]; then
walk_dir "$pathname"
else
#printf '%s\n' "$pathname"
base_name=$(basename ${pathname}) # only filename
#printf '%s, %s\n' "$base_name" "$output_dir/$base_name"
HandBrakeCLI -i $pathname -o $output_dir/$base_name -Z "General/Very Fast 480p30" --no-two-pass -b 500
fi
done
}
DOWNLOADING_DIR=$input_dir
walk_dir "$DOWNLOADING_DIR"

View File

@ -0,0 +1,3 @@
dp=$(xrandr)
echo $dp