From 13b4579888814ab969d633ab8bff076bca17063d Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Wed, 19 Apr 2023 14:16:33 -0400 Subject: [PATCH] Add ignore patterns file TODO --- home/.xlaunch.d/99-dmesg-notifier-error | 1 + home/.xlaunch.d/99-dmesg-notifier-warn | 1 + 2 files changed, 2 insertions(+) diff --git a/home/.xlaunch.d/99-dmesg-notifier-error b/home/.xlaunch.d/99-dmesg-notifier-error index be28707..1a65f66 100755 --- a/home/.xlaunch.d/99-dmesg-notifier-error +++ b/home/.xlaunch.d/99-dmesg-notifier-error @@ -7,6 +7,7 @@ FILE="$DIR/error.log" mkdir -p "$DIR" sleep 3 # wait for dunst to hopefully restart +# TODO File with ignore patterns sudo dmesg --follow --level=emerg,alert,crit,err --since=now --ctime \ | while read -r line do diff --git a/home/.xlaunch.d/99-dmesg-notifier-warn b/home/.xlaunch.d/99-dmesg-notifier-warn index f5409c2..dc1005a 100755 --- a/home/.xlaunch.d/99-dmesg-notifier-warn +++ b/home/.xlaunch.d/99-dmesg-notifier-warn @@ -7,6 +7,7 @@ FILE="$DIR/warning.log" mkdir -p "$DIR" sleep 3 # wait for dunst to hopefully restart +# TODO File with ignore patterns sudo dmesg --follow --level=warn --since=now --ctime \ | while read -r line do -- 2.20.1