mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 23:04:22 +00:00
Update to the latest fish scripts
This commit is contained in:
parent
560408379b
commit
1c5ee113bb
4 changed files with 17 additions and 0 deletions
3
functions/resolvify.fish
Normal file
3
functions/resolvify.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function resolvify
|
||||||
|
ffmpeg -i "$argv[1]" -vcodec dnxhd -b:v 36M -acodec pcm_s16le -f mov "$argv[1].dnxhd.mov"
|
||||||
|
end
|
4
functions/restart-royalnet.fish
Normal file
4
functions/restart-royalnet.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Defined in - @ line 1
|
||||||
|
function restart-royalnet --wraps='ssh combo.steffo.eu sudo systemctl restart bot-royalnet' --description 'alias restart-royalnet ssh combo.steffo.eu sudo systemctl restart bot-royalnet'
|
||||||
|
ssh combo.steffo.eu sudo systemctl restart bot-royalnet $argv;
|
||||||
|
end
|
6
functions/stripbase.fish
Normal file
6
functions/stripbase.fish
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
function stripbase
|
||||||
|
for file in *
|
||||||
|
set truename (string split -m1 " " "$file")[2]
|
||||||
|
mv "$file" "$truename"
|
||||||
|
end
|
||||||
|
end
|
4
functions/ytdl-unimore.fish
Normal file
4
functions/ytdl-unimore.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Defined in - @ line 1
|
||||||
|
function ytdl-unimore --wraps='youtube-dl --cookies ~/.cookies.Unimore.txt' --description 'alias ytdl-unimore youtube-dl --cookies ~/.cookies.Unimore.txt'
|
||||||
|
youtube-dl --cookies ~/.cookies.Unimore.txt $argv;
|
||||||
|
end
|
Loading…
Reference in a new issue