mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
Scripts : some script added.
This commit is contained in:
@ -660,13 +660,13 @@ https://emacs.stackexchange.com/a/30691
|
||||
:init
|
||||
(marginalia-mode))
|
||||
(use-package vertico-posframe
|
||||
;;:disabled
|
||||
:disabled
|
||||
:after vertico
|
||||
:ensure t
|
||||
:init
|
||||
(setq vertico-posframe-parameters
|
||||
`((left-fringe . 8)
|
||||
(right-fringe . 8) (alpha . 100)))
|
||||
(right-fringe . 8) (alpha . 75)))
|
||||
(vertico-posframe-mode 1))
|
||||
#+end_src
|
||||
** Orderless
|
||||
|
||||
26
scripts/encoding_500kbps.sh
Executable file
26
scripts/encoding_500kbps.sh
Executable 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"
|
||||
|
||||
|
||||
3
scripts/parse_display_resolution.sh
Executable file
3
scripts/parse_display_resolution.sh
Executable file
@ -0,0 +1,3 @@
|
||||
|
||||
dp=$(xrandr)
|
||||
echo $dp
|
||||
Reference in New Issue
Block a user