From 92bb4ca230d7fbcf82aaa23b4135e9a4d21e82a2 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Sat, 14 Oct 2023 13:08:58 -0800 Subject: [PATCH] re-indent --- hyprchan | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/hyprchan b/hyprchan index a31a72c..d8d4d85 100755 --- a/hyprchan +++ b/hyprchan @@ -17,15 +17,15 @@ (defun get-dimensions (image) "Return the dimensions of IMAGE as cons `(x . y)'." -(--> image - (shell-command-to-string (format "file %s" it)) - (split-string it "," nil " ") - (--filter (string-match-p (rx (+ num) (? " ") "x" (? " ") (+ num)) it) it) - (--remove (string-match-p "density" it) it) - (car it) - (split-string it "x" nil " ") - (--map (string-to-number it) it) - (cons (car it) (cadr it))) + (--> image + (shell-command-to-string (format "file %s" it)) + (split-string it "," nil " ") + (--filter (string-match-p (rx (+ num) (? " ") "x" (? " ") (+ num)) it) it) + (--remove (string-match-p "density" it) it) + (car it) + (split-string it "x" nil " ") + (--map (string-to-number it) it) + (cons (car it) (cadr it))) ) ;; select the background image