Use __VA_ARGS__ instead of named param
[khatus.git] / x2 / sanity_check
1 #! /bin/bash
2
3 # wifi devices:
4 #--------------
5 # - T420s : wlp3s0
6 # - T570 : wlp4s0
7 # - Librem 15 : wlp1s0
8 # - ASUS L203M : wlo1
9 # - Dell XPS 13 : wlp0s20f3
10
11 # eth devices:
12 #-------------
13 # - T420s : enp0s25
14 # - T570 : enp0s31f6
15 # - USB CableCreation : enxa0cec8c818ab
16 # - USB StarTech : enx00133b9c9bdb
17
18 ETH='enx00133b9c9bdb'
19 WIFI='wlp0s20f3'
20
21 ./bin/khatus \
22 --dir_bin ./bin \
23 --wifi_interface "$WIFI" \
24 --screen_brightness_device_name intel_backlight \
25 | stdbuf -o L tee \
26 >(stdbuf -o L ./bin/khatus_bar \
27 -v Opt_Mpd_Song_Max_Chars=10 \
28 -v Opt_Pulseaudio_Sink=0 \
29 -v GC_Interval=300 \
30 -f <(./bin/khatus_gen_bar_make_status \
31 -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▲ %s▼] E:%s:%s B=[%s %s] *=%s%% (%s) [%s] %s°F %s ' \
32 -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_link:${WIFI},@net_wifi:${WIFI},@net_io_w:${WIFI},@net_io_r:${WIFI},@net_iface_status:${ETH},@net_addr:${ETH},@bluetooth_power,@bluetooth,@backlight_percent,@volume,@mpd,@weather_temp_f,@datetime" \
33 ) \
34 ) \
35 >(stdbuf -o L ./bin/khatus_monitor_energy) \
36 >(stdbuf -o L ./bin/khatus_monitor_errors) \
37 >(stdbuf -o L ./bin/khatus_monitor_devices) \
38 >(stdbuf -o L ./bin/khatus_actuate_device_add_to_automount \
39 -v Execute_On_Mount=thunar \
40 ) \
41 > /dev/null
This page took 0.09147 seconds and 4 git commands to generate.