masa-

i3status-rust config

Sep 17th, 2021
677
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # https://github.com/greshake/i3status-rust/blob/master/doc/blocks.md
  2.  
  3. [theme]
  4. name = "slick"
  5.  
  6. [theme.overrides]
  7. alternating_tint_bg = "#000000"
  8. alternating_tint_fg = "#000000"
  9.  
  10. [icons]
  11. name = "awesome5"
  12.  
  13. #[[block]]
  14. #block = "focused_window"
  15. #max_width = 50
  16. #show_marks = "none" # none, all, visible
  17.  
  18. [[block]]
  19. block = "music"
  20. player = "audacious"
  21. hide_when_empty = true
  22. buttons = ["play", "next"]
  23. marquee = true
  24. marquee_interval = 10
  25. marquee_speed = 0.5
  26.  
  27. #[[block]]
  28. #block = "weather"
  29. #interval = 1800
  30. #format = "{weather} ({location}) {temp}, {wind} m/s {direction}"
  31. #service = { name = "openweathermap", api_key = "XXX", city_id = "123456", units = "metric", lang = "fi" }
  32.  
  33. #[[block]]
  34. #block = "github"
  35. #interval = 7200
  36. #format = "T:{total}|A:{author}|C:{comment}|M:{mention}|R:{review_requested}"
  37.  
  38. [[block]]
  39. block = "net"
  40. device = "enp4s0"
  41. #format = "{speed_down;K*B} {graph_down} {speed_up;K*B} {graph_up}"
  42. format = "{speed_down;K*B} {speed_up;K*B}"
  43. format_alt = "{speed_down;M*B} {speed_up;M*B}"
  44. interval = 1
  45. [block.theme_overrides]
  46. idle_bg = "#eea337"
  47. idle_fg = "#202020"
  48.  
  49. #[[block]]
  50. #block = "load"
  51. #format = "[{1m} {5m} {15m}]"
  52. #interval = 3
  53.  
  54. [[block]]
  55. block = "disk_space"
  56. path = "/home"
  57. format = "{icon} ~ {used} / {total}"
  58. info_type = "free"
  59. alert = 0
  60. warning = 0
  61. [block.theme_overrides]
  62. idle_bg = "#3961c5"
  63. idle_fg = "#f0f0f0"
  64. #[block.theme_overrides]
  65. #idle_bg = "#9130d3"
  66. #idle_fg = "#e0e0e0"
  67.  
  68. [[block]]
  69. block = "memory"
  70. format_mem = "{mem_used} /{mem_total}"
  71. #format_mem = "{mem_used}/{mem_total}({mem_used_percents})"
  72. #format_swap = "{swap_used}/{swap_total}({swap_used_percents})"
  73. display_type = "memory"
  74. icons = true
  75. interval = 5
  76. clickable = false
  77. warning_mem = 40
  78. critical_mem = 75
  79. [block.theme_overrides]
  80. idle_bg = "#56bf41"
  81. idle_fg = "#101010"
  82.  
  83. [[block]]
  84. block = "cpu"
  85. interval = 1
  86. #format = "{barchart} {utilization} {frequency}"
  87. format = "{utilization} {frequency}"
  88. info = 10
  89. warning = 50
  90. critical = 80
  91. [block.theme_overrides]
  92. idle_bg = "#3961c5"
  93. idle_fg = "#e0e0e0"
  94.  
  95. [[block]]
  96. block = "temperature"
  97. collapsed = false
  98. interval = 1
  99. format = "CPU {average}"
  100. chip = "k10temp-pci-00c3"
  101. good = 40
  102. idle = 50
  103. info = 60
  104. warning = 70
  105.  
  106. [[block]]
  107. block = "nvidia_gpu"
  108. label = "GTX 970"
  109. show_clocks = true
  110. show_memory = true
  111. show_temperature = true
  112. show_fan_speed = true
  113. show_clocks = true
  114. show_power_draw = true
  115. interval = 1
  116.  
  117. #[[block]]
  118. #block = "temperature"
  119. #collapsed = false
  120. #interval = 3
  121. #format = "GPU {average}"
  122. #chip = "amdgpu-pci-0500"
  123. #good = 40
  124. #idle = 45
  125. #info = 55
  126. #warning = 70
  127.  
  128. #[[block]]
  129. #block = "temperature"
  130. #collapsed = false
  131. #interval = 5
  132. #format = "GPU {average}"
  133. #chip = "nouveau-pci-0500"
  134. #good = 40
  135. #idle = 45
  136. #info = 55
  137. #warning = 70
  138.  
  139. [[block]]
  140. block = "sound"
  141. step_width = 2
  142. format = "{volume}"
  143. [block.theme_overrides]
  144. idle_bg = "#33bdc6"
  145. idle_fg = "#202020"
  146.  
  147. [[block]]
  148. block = "time"
  149. format = "%Y-%m-%d %H:%M:%S"
  150. timezone = "Europe/Helsinki"
  151. interval = 1
  152. locale = "fi_FI"
  153. [block.theme_overrides]
  154. idle_bg = "#3961c5"
  155. idle_fg = "#f0f0f0"
  156.  
RAW Paste Data