X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=sanity_check;h=8fb8a8a81d328103f8615a99324278a63f8f7b24;hb=5bdce5de1d06bd71c016cfe969f8d8e406f54a9e;hp=f5c6a711598ff0c216bbb60b27410df7be19a10b;hpb=328528eede574d2e8be64d355ac51e7b0641c156;p=khatus.git diff --git a/sanity_check b/sanity_check index f5c6a71..8fb8a8a 100755 --- a/sanity_check +++ b/sanity_check @@ -1,12 +1,23 @@ #! /bin/bash -./bin/khatus --dir_bin ./bin --wifi_interface wlp3s0 \ +./bin/khatus \ + --dir_bin ./bin \ + --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 \ + -v GC_Interval=300 \ + -f <(./bin/khatus_gen_bar_make_status \ + -v Status_Fmt=' E=%s%% M=%d%% P=[%s %sr %sd %st %si %sz] C=[%s %s°C %srpm] D=[%s%% %s▲ %s▼] W=[%s %s▲ %s▼] B=%s *=%s%% (%s) [%s] %s°F %s ' \ + -v Status_Args='@energy_percent,@memory_percent,@processes_count_all,@processes_count_r,@processes_count_d,@processes_count_t,@processes_count_i,@processes_count_z,@cpu_loadavg,@cpu_temp,@cpu_fan_speed,@disk_space,@disk_io_w,@disk_io_r,@net_wifi:wlp3s0,@net_io_w:wlp3s0,@net_io_r:wlp3s0,@bluetooth_power,@backlight_percent,@volume_pa_sink:0,@mpd,@weather_temp_f,@datetime' \ + ) \ ) \ + >(stdbuf -o L ./bin/khatus_cache_dumper $(hostname) 5 "$PWD/data") \ >(stdbuf -o L ./bin/khatus_monitor_energy) \ >(stdbuf -o L ./bin/khatus_monitor_errors) \ + >(stdbuf -o L ./bin/khatus_monitor_devices) \ + >(stdbuf -o L ./bin/khatus_actuate_device_add_to_automount \ + -v Execute_On_Mount=thunar \ + ) \ > /dev/null