Advertisement
poetician

i3 conky-statusbar 100% Transparency | New Separator

Mar 9th, 2020
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 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": " ArcoLinux $kernel ",
  37. # "color": "\#fdf6e3",
  38. # "background": "\#dc322f",
  39. # "separator": true,
  40. # "separator_block_width": 0
  41. # },
  42. {
  43. "full_text": "  ${cpu cpu0}%, ${execi 5 sensors|grep 'Core 0'|awk '{print $3}'} ",
  44. "color": "\#f4cd52",
  45. "background": "\#80000000",
  46. "separator": true,
  47. "separator_block_width": 0
  48. },
  49. {
  50. "full_text": " ∯ ",
  51. "color": "\#f4cd52",
  52. "background": "\#80000000",
  53. "separator": true,
  54. "separator_block_width": 0
  55. },
  56. {
  57. "full_text": "  ${mem}/${memmax} (${memperc}%) ",
  58. "color": "\#f4cd52",
  59. "background": "\#80000000",
  60. "separator": true,
  61. "separator_block_width": 0
  62. },
  63. {
  64. "full_text": " ∯ ",
  65. "color": "\#f4cd52",
  66. "background": "\#80000000",
  67. "separator": true,
  68. "separator_block_width": 0
  69. },
  70. # {
  71. # #"full_text": "  ${texeci 1800 sleep 5; aptitude search '~U' | wc -l} updates ",
  72. # "full_text": "  ${texeci 1800 sleep 5; checkupdates | wc -l} updates",
  73. # "color": "\#fdf6e3",
  74. # "background": "\#2aa198",
  75. # "separator": true,
  76. # "separator_block_width": 0
  77. # },
  78. # {
  79. # "full_text": "  up: ${upspeed enp2s0} down: ${downspeed enp2s0} ",
  80. # "color": "\#fdf6e3",
  81. # "background": "\#2aa198",
  82. # "separator": true,
  83. # "separator_block_width": 0
  84. # },
  85. # {
  86. # "full_text": " | ",
  87. # "color": "\#859900",
  88. # "background": "\#2F2F2F",
  89. # "separator": true,
  90. # "separator_block_width": 0
  91. # },
  92. {
  93. #linux mint
  94. #"full_text": "  ${exec amixer get Master | grep % | awk '{print $4}' | sed 's/[^0-9\%]//g' | head -n1} ",
  95. #arch linux
  96. "full_text": "  ${exec amixer get Master | grep % | awk '{print $5}' | sed 's/[^0-9\%]//g' | head -n1} ",
  97. "color": "\#f4cd52",
  98. "background": "\#80000000",
  99. "separator": true,
  100. "separator_block_width": 0
  101. },
  102. {
  103. "full_text": " ∯ ",
  104. "color": "\#f4cd52",
  105. "background": "\#80000000",
  106. "separator": true,
  107. "separator_block_width": 0
  108. },
  109. {
  110. "full_text": "  ${time %a, %d/%m/%y} ",
  111. "color": "\#f4cd52",
  112. "background": "\#80000000",
  113. "separator": true,
  114. "separator_block_width": 0
  115. },
  116. {
  117. "full_text": " ∯ ",
  118. "color": "\#f4cd52",
  119. "background": "\#80000000",
  120. "separator": true,
  121. "separator_block_width": 0
  122. },
  123. {
  124. "full_text": "  ${time %H:%M:%S} ",
  125. "color": "\#f4cd52",
  126. "background": "\#80000000",
  127. "separator": true,
  128. "separator_block_width": 0
  129. }
  130. ],
  131. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement