From d515ff23fa6cbc621aef9dd4ef7ac9fc7533f60a Mon Sep 17 00:00:00 2001 From: "Dennis (aider)" Date: Sun, 16 Feb 2025 13:31:13 +0100 Subject: [PATCH] docs: Add description to resize_images function --- home/modules/fish/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/modules/fish/default.nix b/home/modules/fish/default.nix index 74a5c23..927497e 100644 --- a/home/modules/fish/default.nix +++ b/home/modules/fish/default.nix @@ -23,6 +23,11 @@ fish_greeting = "fortune -a"; ng = "nvim -c \"Neogit\""; resize_images = '' + # Resize all JPG images in the current directory and its subdirectories + # Usage: resize_images [percentage] + # Example: resize_images 20 - resizes all images to 20% of original size + # If no percentage is provided, defaults to 40% + set -l percentage $argv[1] if test -z "$percentage" set percentage 40