From 7df52920fa4f84852f0ecf2cea64351bb3803828 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 6 May 2026 17:16:16 +0900 Subject: modified statusbar/sb-ylog --- ar/.local/bin/statusbar/sb-ylog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ar/.local/bin') diff --git a/ar/.local/bin/statusbar/sb-ylog b/ar/.local/bin/statusbar/sb-ylog index e1b67e5..cfca111 100755 --- a/ar/.local/bin/statusbar/sb-ylog +++ b/ar/.local/bin/statusbar/sb-ylog @@ -20,7 +20,7 @@ fetch_logs() { kr_today=$(TZ=Asia/Seoul LC_TIME=C date +%d/%b) kr_yesterday=$(TZ=Asia/Seoul LC_TIME=C date -d 'yesterday' +%d/%b) ssh -o BatchMode=yes -o ConnectTimeout=10 root@thesiah.xyz \ - "cat /var/log/nginx/diary.us.log /var/log/nginx/recordings.us.log /var/log/nginx/peertube.us.log 2>/dev/null" \ + "cat /var/log/nginx/diary.us.log /var/log/nginx/recordings.us.log /var/log/nginx/peertube.us.log /var/log/nginx/videos.us.log 2>/dev/null" \ 2>/dev/null | grep -E "$kr_today|$kr_yesterday" | grep -E '[0-9]{2}:[0-9]{2}:[0-9]{2} ' | grep -v '59\.19\.56\.8' | sort -u } @@ -68,7 +68,7 @@ case $BLOCK_BUTTON in pkill -RTMIN+21 "${STATUSBAR:-dwmblocks}" ;; 3) - notify-send "🌐 Ylog module" "- Shows new nginx log entries (diary/recordings/peertube US) + notify-send "🌐 Ylog module" "- Shows new nginx log entries (diary/recordings/peertube/videos US) - Updates every 30 minutes - Left click: show new entries & mark seen - Middle click: force refresh" -- cgit v1.2.3