From: Siraaj Khandkar Date: Sun, 19 Aug 2018 15:40:16 +0000 (-0400) Subject: Add sanity_check scrip, for quick dev "testing" X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=64b8d3e039cbaaaf73947b63c2d8150fc087cbe6;p=khatus.git Add sanity_check scrip, for quick dev "testing" so we can quickly observe the output of the monitors, without actuating it --- diff --git a/sanity_check b/sanity_check new file mode 100755 index 0000000..79b86d5 --- /dev/null +++ b/sanity_check @@ -0,0 +1,12 @@ +#! /bin/bash + +./bin/khatus --dir_bin ./bin --net_interfaces_to_show wlp3s0 --wifi_interface wlp3s0 \ +| stdbuf -o L tee \ + >(stdbuf -o L ./bin/khatus_bar \ + -v Opt_Mpd_Song_Max_Chars=10 \ + -v Opt_Net_Interfaces_To_Show=wlp3s0 \ + -v Opt_Pulseaudio_Sink=0 \ + ) \ + >(stdbuf -o L ./bin/khatus_monitor_energy) \ + >(stdbuf -o L ./bin/khatus_monitor_errors) \ +> /dev/null