A collection of Fish shell functions and automation scripts for Arch Linux.
A little fish wrapper for FFmpeg
- Smart Rotation: Lossless metadata rotation for video files.
- HEVC/AV1 Checker: Scans folders and moves inefficient codecs to an
encfolder for processing. - Frame Extraction: Extracts frames to intelligent folder structures (
video_name/frames/). - Frame Combination: Stitches frames back into video (supports gaps in frame sequences).
- Concatenation: Quickly combines all MP4s in a folder without re-encoding.
Run the following in your terminal to install the function and autocompletions:
# Install Function
curl -L [https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/functions/fftools.fish](https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/functions/fftools.fish) > ~/.config/fish/functions/fftools.fish
# Install Completions
curl -L [https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/completions/fftools.fish](https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/completions/fftools.fish) > ~/.config/fish/completions/fftools.fishUsage
fftools rotate -90 video.mp4
fftools checkhevc
fftools extractframes video.mp4
fftools combineframes 60 ./folder out.mp4
fftools combinevids output.mp4
A smart wrapper to run OrpheusDL inside its virtual environment automatically. Installation
curl -L [https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/functions/tdl.fish](https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/functions/tdl.fish) > ~/.config/fish/functions/tdl.fish
curl -L [https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/completions/tdl.fish](https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/completions/tdl.fish) > ~/.config/fish/completions/tdl.fish
cd ~/Music
git clone [https://github.com/OrfiTeam/OrpheusDL.git](https://github.com/OrfiTeam/OrpheusDL.git)
cd OrpheusDL
python -m venv .venv
source .venv/bin/activate.fish
pip install -r requirements.txt
python orpheus.py settings refresh
tdl "http://tidal.com/album/12345"
tdl "Something to Hide"
tdl album "Pink Floyd"
ds A wrapper for yeecli with built-in color presets. Installation
- Install Dependencies Install python-yeecli from the AUR:
yay -S python-yeecli- Install Script
curl -L [https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/functions/yee.fish](https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/functions/yee.fish) > ~/.config/fish/functions/yee.fish
curl -L [https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/completions/yee.fish](https://raw.githubusercontent.com/YOUR_USER/dotfiles/main/fish/completions/yee.fish) > ~/.config/fish/completions/yee.fish
- Configure Bulb Create
~/.config/yeecli/yeecli.cfg
[default] ip = 192.168.1.1
wl-colorpicker-plasma wl-clipboard
#!/bin/bash
set -e
color=$(wl-colorpicker-plasma | grep -oE '[a-fA-F0-9]{6}' | tr -d '\n')
echo -n "$color" | wl-copy
"$HOME/.local/bin/colorpicker"
chmod +x ~/.local/bin/colorpicker
or...
mkdir -p ~/.local/bin && printf '#!/bin/bash\nset -e\ncolor=$(wl-colorpicker-plasma | grep -oE '\''[a-fA-F0-9]{6}'\'' | tr -d '\''\\n'\'')\necho -n "$color" | wl-copy\n' > ~/.local/bin/colorpicker && chmod +x ~/.local/bin/colorpicker