poetician

Conky-statusbar for i3 | December 2020

Dec 9th, 2020
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.57 KB | None | 0 0
  1. --[[
  2. #=====================================================================================
  3. #
  4. # Author : Erik Dubois at http://www.erikdubois.be
  5. # License : Distributed under the terms of GNU GPL version 2 or later
  6. # Documentation English: http://erikdubois.be/category/linux/i3/
  7. #======================================================================================
  8.  
  9. #======================================================================================
  10. #
  11. # Source : c
  12. # alternative : sudo apt list --upgradable | wc -l
  13. #======================================================================================
  14.  
  15.  
  16. ]]
  17.  
  18. conky.config = {
  19. out_to_x = false,
  20. own_window = false,
  21. out_to_console = true,
  22. background = false,
  23. max_text_width = 0,
  24. update_interval = 1.0,
  25. total_run_times = 0,
  26. short_units = true,
  27. if_up_strictness = "address",
  28. use_spacer = "left",
  29. override_utf8_locale = false,
  30. cpu_avg_samples = 2
  31. }
  32.  
  33. conky.text = [[
  34. [
  35. {
  36. "full_text": "  ",
  37. "color": "\#cb410b",
  38. "background": "\#4f433f1a",
  39. "separator": true,
  40. "separator_block_width": 0
  41. },
  42. {
  43. "full_text": " up: ${upspeed enp6s0} down: ${downspeed enp6s0} ",
  44. "color": "\#4f433f",
  45. "background": "\#4f433f1a",
  46. "separator": true,
  47. "separator_block_width": 0
  48. },
  49. {
  50. "full_text": " 𖢞 ",
  51. "color": "\#cd7f32",
  52. "background": "\#4f433f1a",
  53. "separator": true,
  54. "separator_block_width": 0
  55. },
  56. {
  57. "full_text": "  ",
  58. "color": "\#cb420b",
  59. "background": "\#4f433f1a",
  60. "separator": true,
  61. "separator_block_width": 0
  62. },
  63. {
  64. "full_text": "${cpu cpu0}%, ${execi 5 sensors|grep 'Core 0'|awk '{print $3}'} ",
  65. "color": "\#4f433f",
  66. "background": "\#4f433f1a",
  67. "separator": true,
  68. "separator_block_width": 0
  69. },
  70. {
  71. "full_text": " 𖢞 ",
  72. "color": "\#cd7f32",
  73. "background": "\#4f433f1a",
  74. "separator": true,
  75. "separator_block_width": 0
  76. },
  77. {
  78. "full_text": "  ",
  79. "color": "\#cb410b",
  80. "background": "\#4f433f1a",
  81. "separator": true,
  82. "separator_block_width": 0
  83. },
  84. {
  85. "full_text": "${mem}/${memmax} (${memperc}%) ",
  86. "color": "\#4f433f",
  87. "background": "\#4f433f1a",
  88. "separator": true,
  89. "separator_block_width": 0
  90. },
  91. # {
  92. # "full_text": " 𖢞 ",
  93. # "color": "\#cd7f32",
  94. # "background": "\#4f433f1a",
  95. # "separator": true,
  96. # },
  97. # {
  98. # #"full_text": "  ${texeci 1800 sleep 5; aptitude search '~U' | wc -l} updates ",
  99. # "full_text": "  ${texeci 1800 sleep 5; checkupdates | wc -l} updates",
  100. # "color": "\#FFDF00",
  101. # "background": "\#4f433f1a",
  102. # "separator": true,
  103. # "separator_block_width": 0
  104. # },
  105. {
  106. "full_text": " 𖢞 ",
  107. "color": "\#cd7f32",
  108. "background": "\#4f433f1a",
  109. "separator": true,
  110. "separator_block_width": 0
  111. },
  112. {
  113. "full_text": "  ",
  114. "color": "\#cb410b",
  115. "background": "\#4f433f1a",
  116. "separator": true,
  117. "separator_block_width": 0
  118. },
  119. {
  120. #linux mint
  121. #"full_text": " ${exec amixer get Master | grep % | awk '{print $4}' | sed 's/[^0-9\%]//g' | head -n1} ",
  122. #arch linux
  123. "full_text": " ${exec amixer get Master | grep % | awk '{print $5}' | sed 's/[^0-9\%]//g' | head -n1} ",
  124. "color": "\#4f433f",
  125. "background": "\#4f433f1a",
  126. "separator": true,
  127. "separator_block_width": 0
  128. },
  129. {
  130. "full_text": " 𖢞 ",
  131. "color": "\#cd7f32",
  132. "background": "\#4f433f1a",
  133. "separator": true,
  134. "separator_block_width": 0
  135. },
  136. {
  137. "full_text": "  ",
  138. "color": "\#cb410b",
  139. "background": "\#4f433f1a",
  140. "separator": true,
  141. "separator_block_width": 0
  142. },
  143. {
  144. "full_text": " ArcoLinux $kernel ",
  145. "color": "\#4f433f",
  146. "background": "\#4f433f1a",
  147. "separator": true,
  148. "separator_block_width": 0
  149. },
  150. {
  151. "full_text": " 𖢞 ",
  152. "color": "\#cd7f32",
  153. "background": "\#4f433f1a",
  154. "separator": true,
  155. "separator_block_width": 0
  156. },
  157. {
  158. "full_text": "  ",
  159. "color": "\#cb410b",
  160. "background": "\#4f433f1a",
  161. "separator": true,
  162. "separator_block_width": 0
  163. },
  164. {
  165. "full_text": "${time %a, %d/%m/%y} ",
  166. "color": "\#4f433f",
  167. "background": "\#4f433f1a",
  168. "separator": true,
  169. "separator_block_width": 0
  170. },
  171. {
  172. "full_text": " 𖢞 ",
  173. "color": "\#cd7f32",
  174. "background": "\#4f433f1a",
  175. "separator": true,
  176. "separator_block_width": 0
  177. },
  178. {
  179. "full_text": "  ",
  180. "color": "\#cb410b",
  181. "background": "\#4f433f1a",
  182. "separator": true,
  183. "separator_block_width": 0
  184. },
  185. {
  186. "full_text": "${time %H:%M:%S} ",
  187. "color": "\#4f433f",
  188. "background": "\#4f433f1a",
  189. "separator": true,
  190. "separator_block_width": 0
  191. },
  192. {
  193. "full_text": " 𖢞 ",
  194. "color": "\#cd7f32",
  195. "background": "\#4f433f1a",
  196. "separator": true,
  197. "separator_block_width": 0
  198. }
  199. ],
  200. ]]
Advertisement
Add Comment
Please, Sign In to add comment