From 867c5e37b4da04beb1ddae207fd3c6e8ebfdc99c Mon Sep 17 00:00:00 2001 From: ChUrl Date: Sun, 15 Oct 2023 11:57:28 +0200 Subject: [PATCH] exa->eza --- config/navi/christoph.cheat | 16 ++++++++-------- config/rofi/menus/lectures.fish | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/navi/christoph.cheat b/config/navi/christoph.cheat index c408e116..7bb4a1dc 100644 --- a/config/navi/christoph.cheat +++ b/config/navi/christoph.cheat @@ -28,34 +28,34 @@ ldd $(readlink -f $(which )) % ffmpeg, slowmo # Create a slow motion version of a video with interpolated/blended frames ffmpeg -i "" -filter:v "minterpolate='mi_mode=mci:mc_mode=aobmc:vsbmc=1:fps=',setpts=2*PTS" output.mp4 -$ input: exa -1 +$ input: eza -1 % ffmpeg, cropdetect # Detect black bar dimensions automatically by looking at the first 10 frames ffmpeg -i "" -vframes 10 -vf cropdetect -f null - -$ input: exa -1 +$ input: eza -1 % ffmpeg, cropdetect, preview # Preview video with applied crop settings ffplay -vf crop=::: "" -$ input: exa -1 +$ input: eza -1 % ffmpeg, cropdetect, render # Re-encode the video with applied crop settings ffmpeg -i "" -vf crop=::: -c:a copy output.mp4 -$ input: exa -1 +$ input: eza -1 % ffmpeg, video compression, h265, render, reencode # Reencode and compress the video using the h265 codec ffmpeg -i "" -vcodec libx265 -crf "out_" -$ input: exa -1 +$ input: eza -1 $ quality: echo -e "24\n25\n26\n27\n28\n29\n30\n" ; TODO: Setting the default values like this makes them the only possible values % ffmpeg, video compression, h256, render, reencode # Reencode and compress multiple videos using the h265 codec fish -c "for name in ; ffmpeg -i '$name' -vcodec libx265 -crf 'out_$name'; end" -$ files: echo "(exa -1 | grep \".mp4\")" +$ files: echo "(eza -1 | grep \".mp4\")" $ quality: echo "28" % qemu, cpu @@ -74,12 +74,12 @@ find . -type f -name "" -size - % objdump, disassemble # Disassemble an object file objdump -d -S -M intel "" | bat -l nasm -$ file: exa -1 +$ file: eza -1 % pdftocairo, pdf, svg # Extract svg figure from pdf page pdftocairo -f -l -svg "" "" -$ input: exa -1 +$ input: eza -1 % yes, head, file # Generate a large text file diff --git a/config/rofi/menus/lectures.fish b/config/rofi/menus/lectures.fish index 4399ef54..0915d336 100755 --- a/config/rofi/menus/lectures.fish +++ b/config/rofi/menus/lectures.fish @@ -1,13 +1,13 @@ #!/usr/bin/env fish # User chooses lecture -set LECTURE (exa -1 -D ~/Notes/TU | rofi -dmenu -p " lecture " -i) +set LECTURE (eza -1 -D ~/Notes/TU | rofi -dmenu -p " lecture " -i) if test -z $LECTURE exit end # User chooses slides -set DECK (exa -1 ~/Notes/TU/$LECTURE/Lecture | grep ".pdf" | rofi -dmenu -p " deck " -i) +set DECK (eza -1 ~/Notes/TU/$LECTURE/Lecture | grep ".pdf" | rofi -dmenu -p " deck " -i) if test -z $DECK exit end