From af29b9cfc030d83e0eff05213b26451faf388524 Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 8 Jan 2025 20:54:07 +0000 Subject: dirmon: report deltas --- lib/eos/jao-dirmon.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/eos/jao-dirmon.el b/lib/eos/jao-dirmon.el index 0edb3a3..960c54e 100644 --- a/lib/eos/jao-dirmon.el +++ b/lib/eos/jao-dirmon.el @@ -1,6 +1,6 @@ ;;; jao-dirmon.el --- little utility to monitor disk usage -*- lexical-binding: t; -*- -;; Copyright (C) 2022, 2024 jao +;; Copyright (C) 2022, 2024, 2025 jao ;; Author: jao ;; Keywords: tools @@ -71,7 +71,7 @@ (dolist (c current) (let ((d (- (cdr c) (alist-get (car c) old 0 nil #'string=)))) (when (> (abs d) jao-dirmon-threshold) - (push c high)))) + (push d high)))) (setq jao-dirmon-last-delta high) (jao-dirmon--show-deltas old current jao-dirmon-last-delta) jao-dirmon-last-delta)) -- cgit v1.2.3