Add sanity_check scrip, for quick dev "testing"
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 19 Aug 2018 15:40:16 +0000 (11:40 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 19 Aug 2018 15:40:16 +0000 (11:40 -0400)
so we can quickly observe the output of the monitors, without actuating it

sanity_check [new file with mode: 0755]

diff --git a/sanity_check b/sanity_check
new file mode 100755 (executable)
index 0000000..79b86d5
--- /dev/null
@@ -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
This page took 0.018791 seconds and 4 git commands to generate.