Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Ce dépôt est archivé. Vous pouvez voir les fichiers et le cloner, mais vous ne pouvez pas pousser ni ouvrir de ticket/demande d'ajout.

114 lignes
1.9KB

  1. {{ ansible_managed | comment }}
  2. # i3blocks config file
  3. #
  4. # Please see man i3blocks for a complete reference!
  5. # The man page is also hosted at http://vivien.github.io/i3blocks
  6. #
  7. # List of valid properties:
  8. #
  9. # align
  10. # color
  11. # command
  12. # full_text
  13. # instance
  14. # interval
  15. # label
  16. # min_width
  17. # name
  18. # separator
  19. # separator_block_width
  20. # short_text
  21. # signal
  22. # urgent
  23. # Global properties
  24. #
  25. # The top properties below are applied to every block, but can be overridden.
  26. # Each block command defaults to the script name to avoid boilerplate.
  27. command=/usr/share/i3blocks/$BLOCK_NAME
  28. separator_block_width=15
  29. markup=none
  30. {% if i3blocks_ntfy_url is defined and i3blocks_ntfy_url %}
  31. # todo
  32. [ntfy]
  33. command=i3blocks-ntfy.sh {{ i3blocks_ntfy_url | quote }}
  34. interval=persist
  35. {% endif %}
  36. {#
  37. # timer
  38. [timer]
  39. command=i3block-socket-watcher {{timer_i3block_socket}}
  40. interval=persist
  41. markup=pango
  42. #}
  43. # hostinfo
  44. [hostinfo]
  45. command=echo "$USER@`hostname -s`"
  46. interval=once
  47. # Load Average
  48. [load_average]
  49. interval=10
  50. # CPU usage
  51. #
  52. # The script may be called with -w and -c switches to specify thresholds,
  53. # see the script for details.
  54. #[cpu_usage]
  55. #label=CPU
  56. #interval=10
  57. #min_width=CPU: 100.00%
  58. # Memory usage
  59. #
  60. # The type defaults to "mem" if the instance is not specified.
  61. [memory]
  62. label=MEM
  63. interval=30
  64. [memory]
  65. label=SWAP
  66. instance=swap
  67. interval=30
  68. # Disk usage
  69. #
  70. # The directory defaults to $HOME if the instance is not specified.
  71. # The script may be called with a optional argument to set the alert
  72. # (defaults to 10 for 10%).
  73. [disk]
  74. label=HOME
  75. interval=30
  76. # Battery indicator
  77. #
  78. # The battery instance defaults to 0.
  79. [battery]
  80. #label=BAT
  81. label=⚡
  82. #instance=1
  83. interval=30
  84. # Volume indicator
  85. #
  86. # The first parameter sets the step (and units to display)
  87. # The second parameter overrides the mixer selection
  88. # See the script for details.
  89. [volume]
  90. #label=VOL
  91. label=♪
  92. instance=Master
  93. #instance=PCM
  94. interval=once
  95. signal=10
  96. # Date Time
  97. #
  98. [time]
  99. command=date '+%Y-%m-%d W%V %a %H:%M %Z'
  100. interval=5