This commit is contained in:
2023-10-01 16:31:27 -04:00
parent 436a7cbb87
commit fe632730ef
9 changed files with 137 additions and 68 deletions

View File

@@ -97,6 +97,8 @@ set -x DB_NAME "covid_monitor"
set -x FULLNODE_API_INFO wss://api.chain.love
set -x IPAD_IMG 17
# ]]] universal var's #
# fish-specific [[[ #
@@ -173,6 +175,7 @@ abbr bupp "backup-phone-pics"
abbr ca "cad-to-us"
abbr cccs "sync-alt-cal class"
abbr cl "clip"
abbr cli "clip-ipad"
abbr cpc "copy cat"
abbr cpe "copy echo"
abbr cpp "copy echo (pwd)"
@@ -209,6 +212,7 @@ abbr i "sxiv-silent"
abbr lo "libreoffice-silent"
abbr ma "man-vim task"
abbr mat "math"
abbr mi "mpv-ipad"
abbr mn "man-vim"
abbr mdf "mkdir-cd"
abbr mtm "maven-test-method"
@@ -221,6 +225,8 @@ abbr re "reminder ''"
abbr rf "refresh-config"
abbr rl "readlink-cp"
abbr rds "redshift-set"
abbr rmi "rm-ipad"
abbr rsi "rsync-ipad-vid"
abbr scf "scp-vid fn"
abbr sma "smol-add"
abbr smd "smol-delete"

View File

@@ -0,0 +1,7 @@
function clip-ipad
if test (count $argv) -eq 3
ffmpeg -ss $argv[1] -i IMG_$IPAD_IMG$argv[2].MP4 -codec copy $argv[3]
else
ffmpeg -ss $argv[1] -to $argv[2] -i IMG_$IPAD_IMG$argv[3].MP4 -codec copy $argv[4]
end
end

View File

@@ -0,0 +1,3 @@
function mpv-ipad
mpv IMG_$IPAD_IMG$argv[1].MP4
end

View File

@@ -0,0 +1,3 @@
function rm-ipad
rm IMG_$IPAD_IMG$argv[1].MP4
end

View File

@@ -0,0 +1,3 @@
function rsync-ipad-vid
rsync --ignore-existing -Ptr IMG_$IPAD_IMG$argv[1].MP4 /mnt/linux-files-2/Videos/ipad/fortnite/name
end