Shift X2 status from legacy to archived
[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 # disk io devices
19 #----------------
20 # - Dell XPS 13 : nvme0n1
21
22 ETH='enx00133b9c9bdb'
23 WIFI='wlp0s20f3'
24
25 ./bin/khatus \
26 --dir_bin ./bin \
27 --wifi_interface "$WIFI" \
28 --screen_brightness_device_name intel_backlight \
29 --disk_io_device nvme0n1 \
30 | stdbuf -o L tee \
31 >(stdbuf -o L ./bin/khatus_bar \
32 -v Opt_Mpd_Song_Max_Chars=10 \
33 -v Opt_Pulseaudio_Sink=0 \
34 -v GC_Interval=300 \
35 -f <(./bin/khatus_gen_bar_make_status \
36 -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 ' \
37 -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" \
38 ) \
39 ) \
40 >(stdbuf -o L ./bin/khatus_monitor_energy) \
41 >(stdbuf -o L ./bin/khatus_monitor_errors) \
42 >(stdbuf -o L ./bin/khatus_monitor_devices) \
43 >(stdbuf -o L ./bin/khatus_actuate_device_add_to_automount \
44 -v Execute_On_Mount=thunar \
45 ) \
46 > /dev/null
This page took 0.061565 seconds and 4 git commands to generate.