Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

109 lines
1.8KB

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