Advertisement
yochananmarqos

baru.yaml

Feb 19th, 2021
1,266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 12.52 KB | None | 0 0
  1. # List of all options
  2.  
  3. # If the word "required" is mentioned, the corresponding option is required.
  4. # Otherwise it is optional.
  5.  
  6.  
  7. # # # # #
  8. # Root  #
  9. # # # # #
  10.  
  11. # format: String, required
  12. #
  13. # The format of the output.
  14. #
  15. # A module can be enabled by markup of this form: "%x",
  16. # where x is the corresponding letter for that module.
  17. # These markups will be replaced by the output of the corresponding module.
  18. # Here are the letters:
  19. #
  20. # a => battery
  21. # b => brightness
  22. # c => cpu
  23. # d => datetime
  24. # e => wired
  25. # f => cpu frequency
  26. # m => memory
  27. # i => mic
  28. # s => sound
  29. # t => temperature
  30. # w => wireless
  31. #
  32. # The character "%" can be escaped by prepending a backslash: \%
  33. #
  34. format: '%c  %t  %b  %s   %w%e %a   %d'
  35.  
  36. # tick: u32, default: 50
  37. #
  38. # The main refresh rate in millisecond.
  39. #
  40. tick: 100
  41.  
  42. # pulse_tick: u32, default: 50
  43. #
  44. # The refresh rate in millisecond of the PulseAudio thread.
  45. #
  46. pulse_tick: 100
  47.  
  48.  
  49. # Each module take a "format" option.
  50. # This option is a string and the following markups will be replaced respectively by the value and the label of the module:
  51. # %v
  52. # %l
  53.  
  54.  
  55. # # # # # # # # # #
  56. # Battery module  #
  57. # # # # # # # # # #
  58.  
  59. battery:
  60. # Takes the following options:
  61.  
  62.   # tick: u32, default: 500
  63.   #
  64.   # The refresh rate in millisecond of the module thread.
  65.   #
  66.   tick: 1000
  67.  
  68.   # placeholder: String, default: -
  69.   #
  70.   # Value to display when there is no data available yet.
  71.   #
  72.   placeholder: '-'
  73.  
  74.   # name: String, default: BAT0
  75.   #
  76.   # The directory name under /sys/class/power_supply/
  77.   #
  78.   name: BAT0
  79.  
  80.   # low_level: u32, default: 10
  81.   #
  82.   # The level below which the battery level is considered low.
  83.   #
  84.   low_level: 20
  85.  
  86.   # full_design: bool, default: false
  87.   #
  88.   # Whether or not the current level is calculated based on the full design value.
  89.   #
  90.   full_design: true
  91.  
  92.   # full_label: String, default: *ba
  93.   #
  94.   # The label printed when the battery is full.
  95.   #
  96.   full_label: '100'
  97.  
  98.   # charging_label: String, default: ^ba
  99.   #
  100.   # The label printed when the battery is charging.
  101.   #
  102.   charging_label: '^ba'
  103.  
  104.   # discharging_label: String, default: bat
  105.   #
  106.   # The label printed when the battery is discharging.
  107.   #
  108.   discharging_label: bat
  109.  
  110.   # low_label: String, default: !ba
  111.   #
  112.   # The label printed when the battery is discharging and the level is low.
  113.   #
  114.   low_label: '!ba'
  115.  
  116.   # unknown_label: String, default: .ba
  117.   #
  118.   # The label printed when the battery state is unknown.
  119.   #
  120.   unknown_label: '.ba'
  121.  
  122.   # format: String, default: %l:%v
  123.   #
  124.   # The module format.
  125.   #
  126.   format: '%l:%v'
  127.  
  128.  
  129. # # # # # # # # # # #
  130. # Brightness module #
  131. # # # # # # # # # # #
  132.  
  133. brightness:
  134. # Takes the following option:
  135.  
  136.   # tick: u32, default: 50
  137.   #
  138.   # The refresh rate in millisecond of the module thread.
  139.   #
  140.   tick: 100
  141.  
  142.   # placeholder: String, default: -
  143.   #
  144.   # Value to display when there is no data available yet.
  145.   #
  146.   placeholder: '-'
  147.  
  148.   # sys_path: String, default: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
  149.   #
  150.   # /sys/devices path
  151.   #
  152.   sys_path: /sys/class/backlight/nvidia_0
  153.  
  154.   # label: String, default: bri
  155.   #
  156.   # The label printed.
  157.   #
  158.   label: bri
  159.  
  160.   # format: String, default: %l:%v
  161.   #
  162.   # The module format.
  163.   #
  164.   format: '%l:%v'
  165.  
  166.  
  167. # # # # # # # #
  168. # Cpu module  #
  169. # # # # # # # #
  170.  
  171. cpu:
  172. # Takes the following options:
  173.  
  174.   # tick: u32, default: 500
  175.   #
  176.   # The refresh rate in millisecond of the module thread.
  177.   #
  178.   tick: 1000
  179.  
  180.   # placeholder: String, default: -
  181.   #
  182.   # Value to display when there is no data available yet.
  183.   #
  184.   placeholder: '-'
  185.  
  186.   # high_level: u32, default: 90
  187.   #
  188.   # The percentage above which the cpu usage is considered high.
  189.   #
  190.   high_level: 95
  191.  
  192.   # label: String, default: cpu
  193.   #
  194.   # The label printed when the cpu usage is below high level.
  195.   #
  196.   label: cpu
  197.  
  198.   # high_label: String, default: !cp
  199.   #
  200.   # The label printed when the cpu usage is above high level.
  201.   #
  202.   high_label: '!cp'
  203.  
  204.   # format: String, default: %l:%v
  205.   #
  206.   # The module format.
  207.   #
  208.   format: '%l:%v'
  209.  
  210.  
  211. # # # # # # # # # # # # #
  212. # Cpu frequency module  #
  213. # # # # # # # # # # # # #
  214.  
  215. cpu_freq:
  216. # Takes the following options:
  217.  
  218.   # tick: u32, default: 100
  219.   #
  220.   # The refresh rate in millisecond of the module thread.
  221.   #
  222.   tick: 500
  223.  
  224.   # placeholder: String, default: -
  225.   #
  226.   # Value to display when there is no data available yet.
  227.   #
  228.   placeholder: '-'
  229.  
  230.   # cpufreq_path: String, default: /sys/devices/system/cpu/cpu0/cpufreq
  231.   #
  232.   # Path to cpufreq directory, in which cpuinfo_max_freq file must be present.
  233.   # The maximum cpu frequency will be read from this file.
  234.   #
  235.   cpufreq_path: /sys/devices/system/cpu/cpufreq/policy0
  236.  
  237.   # show_max_freq: bool, default: false
  238.   #
  239.   # Whether or not the maximum cpu frequency is printed.
  240.   #
  241.   max_freq: true
  242.  
  243.   # unit: Unit, default: Smart
  244.   #
  245.   # enum Display { MHz, GHz, Smart }
  246.   #
  247.   # The unit of the frequency.
  248.   # Smart means if the frequency is less than 1000MHz it will be printed in MHz.
  249.   # Otherwise it will be printed in GHz.
  250.   #
  251.   unit: Smart
  252.  
  253.   # high_level: u32, default: 80
  254.   #
  255.   # The percentage above which the cpu frequency is considered high.
  256.   #
  257.   high_level: 90
  258.  
  259.   # label: String, default: fre
  260.   #
  261.   # The label printed when the cpu frequency is below high level.
  262.   #
  263.   label: fre
  264.  
  265.   # high_label: String, default: !fr
  266.   #
  267.   # The label printed when the cpu frequency is above high level.
  268.   #
  269.   high_label: '!fr'
  270.  
  271.   # format: String, default: %l:%v
  272.   #
  273.   # The module format.
  274.   #
  275.   format: '%l:%v'
  276.  
  277.  
  278. # # # # # # # # # #
  279. # DateTime module #
  280. # # # # # # # # # #
  281.  
  282. date_time:
  283. # Takes the following option:
  284.  
  285.   # tick: u32, default: 500
  286.   #
  287.   # The refresh rate in millisecond of the module thread.
  288.   #
  289.   tick: 1000
  290.  
  291.   # placeholder: String, default: -
  292.   #
  293.   # Value to display when there is no data available yet.
  294.   #
  295.   placeholder: '-'
  296.  
  297.   # date_format: String, default: %a. %-e %B %Y, %-kh%M
  298.   #
  299.   # The format. For the syntax see https://docs.rs/chrono/*/chrono/format/strftime/index.html
  300.   #
  301.   date_format: '%-kh%M'
  302.  
  303.   # label: String, default: None
  304.   #
  305.   # The label printed.
  306.   #
  307.   label: dat
  308.  
  309.   # format: String, default: %v
  310.   #
  311.   # The module format.
  312.   #
  313.   format: '%v'
  314.  
  315.  
  316. # # # # # # # # #
  317. # Memory module #
  318. # # # # # # # # #
  319.  
  320. memory:
  321. # Takes the following options:
  322.  
  323.   # tick: u32, default: 500
  324.   #
  325.   # The refresh rate in millisecond of the module thread.
  326.   #
  327.   tick: 1000
  328.  
  329.   # placeholder: String, default: -
  330.   #
  331.   # Value to display when there is no data available yet.
  332.   #
  333.   placeholder: '-'
  334.  
  335.   # display: Display, default: GiB
  336.   #
  337.   # enum Display { GB, GiB, Percentage }
  338.   #
  339.   # Display as used/total in mega/gigabyte, as used/total in mebi/gibibyte or as a percentage.
  340.   #
  341.   display: GB
  342.  
  343.   # high_level: u32, default: 90
  344.   #
  345.   # The percentage above which the memory usage is considered high.
  346.   #
  347.   high_level: 95
  348.  
  349.   # label: String, default: mem
  350.   #
  351.   # The label printed when the memory usage is below high level.
  352.   #
  353.   label: mem
  354.  
  355.   # high_label: String, default: !me
  356.   #
  357.   # The label printed when the memory usage is above high level.
  358.   #
  359.   high_label: '!me'
  360.  
  361.   # format: String, default: %l:%v
  362.   #
  363.   # The module format.
  364.   #
  365.   format: '%l:%v'
  366.  
  367.  
  368. # # # # # # # #
  369. # Mic module  #
  370. # # # # # # # #
  371.  
  372. mic:
  373. # Takes the following options:
  374.  
  375.   # tick: u32, default: 50
  376.   #
  377.   # The refresh rate in millisecond of the module thread.
  378.   #
  379.   tick: 100
  380.  
  381.   # placeholder: String, default: -
  382.   #
  383.   # Value to display when there is no data available yet.
  384.   #
  385.   placeholder: '-'
  386.  
  387.   # index: u32, default: 0
  388.   #
  389.   # The source index.
  390.   #
  391.   index: 1
  392.  
  393.   # label: String, default: mic
  394.   #
  395.   # The label printed when the mic is unmute.
  396.   #
  397.   label: mic
  398.  
  399.   # mute_label: String, default: .mi
  400.   #
  401.   # The label printed when the mic is mute.
  402.   #
  403.   mute_label: '.mi'
  404.  
  405.   # format: String, default: %l:%v
  406.   #
  407.   # The module format.
  408.   #
  409.   format: '%l_%v'
  410.  
  411.  
  412. # # # # # # # # #
  413. # Sound module  #
  414. # # # # # # # # #
  415.  
  416. sound:
  417. # Takes the following options:
  418.  
  419.   # tick: u32, default: 50
  420.   #
  421.   # The refresh rate in millisecond of the module thread.
  422.   #
  423.   tick: 100
  424.  
  425.   # placeholder: String, default: -
  426.   #
  427.   # Value to display when there is no data available yet.
  428.   #
  429.   placeholder: '-'
  430.  
  431.   # index: u32, default: 0
  432.   #
  433.   # The sink index.
  434.   #
  435.   index: 1
  436.  
  437.   # label: String, default: sou
  438.   #
  439.   # The label printed when the sound is unmute.
  440.   #
  441.   label: sou
  442.  
  443.   # mute_label: String, default: .so
  444.   #
  445.   # The label printed when the sound is mute.
  446.   #
  447.   mute_label: '.so'
  448.  
  449.   # format: String, default: %l:%v
  450.   #
  451.   # The module format.
  452.   #
  453.   format: '%l:%v'
  454.  
  455.  
  456. # # # # # # # # # # # #
  457. # Temperature module  #
  458. # # # # # # # # # # # #
  459.  
  460. temperature:
  461. # Takes the following options:
  462.  
  463.   # tick: u32, default: 50
  464.   #
  465.   # The refresh rate in millisecond of the module thread.
  466.   #
  467.   tick: 100
  468.  
  469.   # placeholder: String, default: -
  470.   #
  471.   # Value to display when there is no data available yet.
  472.   #
  473.   placeholder: '-'
  474.  
  475.   # coretemp: String, default: /sys/devices/platform/coretemp.0/hwmon
  476.   #
  477.   # The path without the last directory level (because it varies on each kernel boot).
  478.   # Under this variant directory must be located the tempx_input files.
  479.   # For example on my machine it can be /sys/devices/platform/coretemp.0/hwmon/hwmon7 or hwmon6 etc.
  480.   # This last directory is resolved dynamically.
  481.   #
  482. #  coretemp: /sys/devices/platform/coretemp.1/hwmon
  483.  
  484.   # core_inputs: String, default: 1
  485.   #
  486.   # The average temperature is calculated with one or several tempx_input files.
  487.   # tempx_input files can contain the temperature of a cpu core.
  488.   # Based on his cpu (and number of cores), the user must find the correct file(s).
  489.   #
  490.   # Can be a number to select one file. eg. 1 for temp1_input.
  491.   # Can be a inclusive range to select several files, for example:
  492.   # 1..4
  493.   # temp1_input
  494.   # temp2_input
  495.   # temp3_input
  496.   # temp4_input
  497.   #
  498.   core_inputs: 2..5
  499.  
  500.   # high_level: u32, default: 75
  501.   #
  502.   # The percentage above which the temperature is considered high.
  503.   #
  504.   high_level: 80
  505.  
  506.   # label: String, default: tem
  507.   #
  508.   # The label printed when the temperature is below high level.
  509.   #
  510.   label: tem
  511.  
  512.   # high_label: String, default: !te
  513.   #
  514.   # The label printed when the temperature is above high level.
  515.   #
  516.   high_label: '!te'
  517.  
  518.   # format: String, default: %l:%v
  519.   #
  520.   # The module format.
  521.   #
  522.   format: '%l:%v'
  523.  
  524.  
  525. # # # # # # # # #
  526. # Wired module  #
  527. # # # # # # # # #
  528.  
  529. wired:
  530. # Takes the following options:
  531.  
  532.   # tick: u32, default: 1000
  533.   #
  534.   # The refresh rate in millisecond of the module thread.
  535.   #
  536.   tick: 500
  537.  
  538.   # placeholder: String, default: -
  539.   #
  540.   # Value to display when there is no data available yet.
  541.   #
  542.   placeholder: '-'
  543.  
  544.   # discrete: bool, default: false
  545.   #
  546.   # If true and there is no active wired connection, print nothing.
  547.   #
  548.   discrete: true
  549.  
  550.   # interface: String, default: enp0s31f6
  551.   #
  552.   # The name of the wired interface.
  553.   #
  554.   interface: eth0
  555.  
  556.   # label: String, default: eth
  557.   #
  558.   # The label printed when a wired connection is active.
  559.   #
  560.   label: eth
  561.  
  562.   # disconnected_label: String, default: .et
  563.   #
  564.   # The label printed when there is no active wired connection.
  565.   #
  566.   disconnected_label: '.et'
  567.  
  568.   # format: String, default: %l
  569.   #
  570.   # The module format (this module has no value to print).
  571.   #
  572.   format: '%l'
  573.  
  574.  
  575. # # # # # # # # # #
  576. # Wireless module #
  577. # # # # # # # # # #
  578.  
  579. wireless:
  580. # Takes the following options:
  581.  
  582.   # tick: u32, default: 500
  583.   #
  584.   # The refresh rate in millisecond of the module thread.
  585.   #
  586.   tick: 250
  587.  
  588.   # placeholder: String, default: -
  589.   #
  590.   # Value to display when there is no data available yet.
  591.   #
  592.   placeholder: '-'
  593.  
  594.   # display: Display, default: Signal
  595.   #
  596.   # enum Display { Essid, Signal }
  597.   #
  598.   # Print the essid name or the signal strength in percentage.
  599.   #
  600.   display: Essid
  601.  
  602.   # max_essid_len: usize, default: 10
  603.   #
  604.   # Limit the length of the essid name.
  605.   #
  606.   max_essid_len: 5
  607.  
  608.   # interface: String, default: wlan0
  609.   #
  610.   # The name of the wireless interface.
  611.   #
  612.   interface: wlan0
  613.  
  614.   # label: String, default: wle
  615.   #
  616.   # The label printed when a wireless connection is active.
  617.   #
  618.   label: wla
  619.  
  620.   # disconnected_label: String, default: .wl
  621.   #
  622.   # The label printed when there is no active wireless connection.
  623.   #
  624.   disconnected_label: '.wl'
  625.  
  626.   # format: String, default: %l:%v
  627.   #
  628.   # The module format.
  629.   #
  630.   format: '%l:%v'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement