diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-07-05 23:23:32 +0200 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-07-05 23:23:32 +0200 |
| commit | c3b870ba84721923432277b32fe0d4545a6e9c32 (patch) | |
| tree | ccfaf2c6662561e062c5f091979d8a1b22b5d575 /bin | |
| parent | a7b12d1e391d505f94f77d2a92f0f00818d19582 (diff) | |
| parent | 43623780dd3a5ab6b6fe783900b17006a0091e44 (diff) | |
Merge branch 'main' of autumn:dotfiles
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/extra/last_replay | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/extra/last_replay b/bin/extra/last_replay index 5cc0dba..7029257 100755 --- a/bin/extra/last_replay +++ b/bin/extra/last_replay @@ -1,7 +1,7 @@ #!/bin/sh File="$(find ~/vids/replays -type f -printf '%Ts %p\n' | - grep -E '\.(mp4|mkv|webm)' | + grep -E '\.(mp4|mkv|webm)$' | sort -n -r | head -n 1 | cut -f 2- -d' ' | tr -d '\n')" |
