summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-05-06 17:16:16 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-05-06 17:16:16 +0900
commit7df52920fa4f84852f0ecf2cea64351bb3803828 (patch)
tree0f9e4d093d5d9828c8eb7f8c22c2c0581421399a
parent24abae8d7d52072d6f33298cd59e5c720a51f38f (diff)
modified statusbar/sb-ylog
-rwxr-xr-xar/.local/bin/statusbar/sb-ylog4
1 files changed, 2 insertions, 2 deletions
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"