From f4c4550e327d9090c82a735d39d104d0bedb602d Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 30 Mar 2025 01:00:51 -0400 Subject: Loads of laptop shit --- .local/bin/sixprev | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .local/bin/sixprev (limited to '.local/bin/sixprev') diff --git a/.local/bin/sixprev b/.local/bin/sixprev new file mode 100755 index 0000000..8174f81 --- /dev/null +++ b/.local/bin/sixprev @@ -0,0 +1,9 @@ +#!/bin/sh + +# Check if the file exists +if [ ! -f "$1" ]; then + echo "File not found!" + exit 2 +fi + +convert "$1" -resize 600x sixel:- | cat -- cgit v1.2.3