25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

i3blocks.config.j2 1.9KB

2 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. # todo
  31. [todo]
  32. command=i3block-socket-watcher {{todo_i3block_socket}}
  33. interval=persist
  34. markup=pango
  35. # timer
  36. [timer]
  37. command=i3block-socket-watcher {{timer_i3block_socket}}
  38. interval=persist
  39. markup=pango
  40. # hostinfo
  41. [hostinfo]
  42. command=echo "$USER@`hostname -s`"
  43. interval=once
  44. # Load Average
  45. [load_average]
  46. interval=10
  47. # CPU usage
  48. #
  49. # The script may be called with -w and -c switches to specify thresholds,
  50. # see the script for details.
  51. #[cpu_usage]
  52. #label=CPU
  53. #interval=10
  54. #min_width=CPU: 100.00%
  55. # Memory usage
  56. #
  57. # The type defaults to "mem" if the instance is not specified.
  58. [memory]
  59. label=MEM
  60. interval=30
  61. [memory]
  62. label=SWAP
  63. instance=swap
  64. interval=30
  65. # Disk usage
  66. #
  67. # The directory defaults to $HOME if the instance is not specified.
  68. # The script may be called with a optional argument to set the alert
  69. # (defaults to 10 for 10%).
  70. [disk]
  71. label=HOME
  72. interval=30
  73. # Battery indicator
  74. #
  75. # The battery instance defaults to 0.
  76. [battery]
  77. #label=BAT
  78. label=⚡
  79. #instance=1
  80. interval=30
  81. # Volume indicator
  82. #
  83. # The first parameter sets the step (and units to display)
  84. # The second parameter overrides the mixer selection
  85. # See the script for details.
  86. [volume]
  87. #label=VOL
  88. label=♪
  89. instance=Master
  90. #instance=PCM
  91. interval=once
  92. signal=10
  93. # Date Time
  94. #
  95. [time]
  96. command=date '+%Y-%m-%d W%V %a %H:%M %Z'
  97. interval=5