re-indent
This commit is contained in:
parent
1bbba60b20
commit
92bb4ca230
2
hyprchan
2
hyprchan
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
(defun get-dimensions (image)
|
(defun get-dimensions (image)
|
||||||
"Return the dimensions of IMAGE as cons `(x . y)'."
|
"Return the dimensions of IMAGE as cons `(x . y)'."
|
||||||
(--> image
|
(--> image
|
||||||
(shell-command-to-string (format "file %s" it))
|
(shell-command-to-string (format "file %s" it))
|
||||||
(split-string it "," nil " ")
|
(split-string it "," nil " ")
|
||||||
(--filter (string-match-p (rx (+ num) (? " ") "x" (? " ") (+ num)) it) it)
|
(--filter (string-match-p (rx (+ num) (? " ") "x" (? " ") (+ num)) it) it)
|
||||||
|
Loading…
Reference in New Issue
Block a user