diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-05-06 17:16:16 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-05-06 17:16:16 +0900 |
| commit | 7df52920fa4f84852f0ecf2cea64351bb3803828 (patch) | |
| tree | 0f9e4d093d5d9828c8eb7f8c22c2c0581421399a /ar/.local/bin/statusbar/sb-ylog | |
| parent | 24abae8d7d52072d6f33298cd59e5c720a51f38f (diff) | |
modified statusbar/sb-ylog
Diffstat (limited to 'ar/.local/bin/statusbar/sb-ylog')
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-ylog | 4 |
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" |
