Signed-off-by: Bogomil Vasilev <smirky@smirky.net>
This commit is contained in:
2026-02-13 14:12:17 +02:00
parent 6da4cb891b
commit 1ca024226e
4 changed files with 4 additions and 43 deletions

View File

@@ -36,8 +36,9 @@ movie=$(echo $movie|xargs)
printf "Playing: %s\n" "$movie"
#smplayer -fullscreen "$movie" 1>/dev/null
#mpv --fs --volume=100 "$movie" # 1>/dev/null
vlc "$movie" 1>/dev/null
mpv --fs --volume=100 "$movie" # 1>/dev/null
#vlc "$movie" 1>/dev/null
#kodi "$movie" 1>/dev/null
printf "Unmounting: %s\n" "$mountpoint"
fusermount -u "$mountpoint"
printf "Removing dir: %s\n" "$mountpoint"

View File

@@ -1,19 +0,0 @@
#!/bin/bash
#checkpatch --no-tree -f
checkpatch="/usr/lib/modules/$(uname -r)/build/scripts/checkpatch.pl"
if [ -z "$1" ]; then
project_dir="$PWD"
elif [ -d "$1" ]; then
project_dir="$1"
else
source_file="$1"
fi
if [ -z "$project_dir" ]; then
"${checkpatch}" --no-tree -f "${source_file}"
else
find "${project_dir}" -regex '.*\.\(c\|h\)' -exec "${checkpatch}" --no-tree -f '{}' +
fi

View File

@@ -1,21 +0,0 @@
#!/bin/bash
# Capture screen script
prefix=`date +"%G.%m.%d_%H.%M.%S"`
ffmpeg -y -f x11grab \
-video_size 1920x1080 \
-r 30 \
-i $DISPLAY \
-f pulse \
-ac 2 \
-i default \
-c:v libx264 \
-crf 0 \
-pix_fmt yuv420p \
-preset ultrafast \
-threads 0 \
$prefix.mp4
# -f alsa \
# -i hw:2,1 \
#-an \