Ease device switching in sanity_check
[khatus.git] / x2 / sanity_check
CommitLineData
64b8d3e0
SK
1#! /bin/bash
2
0325cf57
SK
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
18ETH='enx00133b9c9bdb'
19WIFI='wlp0s20f3'
20
5ac6b3be
SK
21./bin/khatus \
22 --dir_bin ./bin \
0325cf57 23 --wifi_interface "$WIFI" \
0c4f892e 24 --screen_brightness_device_name intel_backlight \
64b8d3e0
SK
25| stdbuf -o L tee \
26 >(stdbuf -o L ./bin/khatus_bar \
27 -v Opt_Mpd_Song_Max_Chars=10 \
64b8d3e0 28 -v Opt_Pulseaudio_Sink=0 \
dffa7e60 29 -v GC_Interval=300 \
03c229bf 30 -f <(./bin/khatus_gen_bar_make_status \
b9592ab6 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 ' \
0325cf57 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" \
ab9fe663 33 ) \
64b8d3e0
SK
34 ) \
35 >(stdbuf -o L ./bin/khatus_monitor_energy) \
36 >(stdbuf -o L ./bin/khatus_monitor_errors) \
cf7cff1c 37 >(stdbuf -o L ./bin/khatus_monitor_devices) \
1fb22bdb
SK
38 >(stdbuf -o L ./bin/khatus_actuate_device_add_to_automount \
39 -v Execute_On_Mount=thunar \
40 ) \
64b8d3e0 41> /dev/null
This page took 0.023052 seconds and 4 git commands to generate.