Guest User

conky_config

a guest
Feb 2nd, 2025
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.12 KB | None | 0 0
  1. --[[
  2. #=====================================================================================
  3. # arcolinux
  4. # Date : package-date
  5. # Author : Erik Dubois at http://www.erikdubois.be
  6. # Version : package-version
  7. # License : Distributed under the terms of GNU GPL version 2 or later
  8. # Documentation : http://erikdubois.be/
  9. #======================================================================================
  10. # CONKY
  11. # For commands in conky.config section:
  12. # http://conky.sourceforge.net/config_settings.html
  13. #
  14. # For commands in conky.text section:
  15. # http://conky.sourceforge.net/variables.html
  16. #
  17. # A PDF with all variables is provided
  18. #=====================================================================================
  19. # FONTS
  20. # To avoid copyright infringements you will have to download
  21. # and install the fonts yourself sometimes.
  22. #=====================================================================================
  23. # GENERAL INFO ABOUT FONTS
  24. # Go and look for a nice font on sites like http://www.dafont.com/
  25. # Download and unzip - double click the font to install it (font-manager must be installed)
  26. # No font-manager then put fonts in ~/.fonts
  27. # Change the font name in the conky
  28. # The name can be known with a command in the terminal: fc-list | grep "part of name"
  29. # Change width and height of the conky according to font
  30. # Reboot your system or fc-cache -fv in terminal
  31. # Enjoy
  32. #=====================================================================================
  33. # FONTS FOR THIS CONKY
  34. # http://www.dafont.com/style-bats.font
  35. #======================================================================================
  36. # Titus Modifications
  37. #======================================================================================
  38. # Changed time from Roboto to GE Inspira which is a base Conky Gotham Addon
  39. # Changed Drives from 2 to 3
  40. # Modified one_window_type from desktop to normal for KDE compatibility
  41. # Modified Ethernet settings
  42. # Modified Pink Lines to Bright Blue
  43. # Removed Extra symbols and incorrect formatting
  44. #======================================================================================
  45.  
  46. ]]
  47.  
  48. conky.config = {
  49.  
  50. --Various settings
  51. --out_to_x = false,
  52. --out_to_wayland = true,
  53. background = false, -- forked to background
  54. cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring.
  55. diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring.
  56. double_buffer = true, -- Use the Xdbe extension? (eliminates flicker)
  57. if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address
  58. net_avg_samples = 2, -- The number of samples to average for net data
  59. no_buffers = true, -- Subtract (file system) buffers from used memory?
  60. temperature_unit = 'celsius', -- fahrenheit or celsius
  61. text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256
  62. update_interval = 1, -- update interval
  63. imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song
  64.  
  65.  
  66. --Placement
  67.  
  68. alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
  69. -- middle_left,middle_middle,middle_right,none
  70. --Arch Duoscreen
  71. --gap_x = -1910,
  72. gap_x = 15, -- pixels between right or left border
  73. gap_y = 10, -- pixels between bottom or left border
  74. minimum_height = 600, -- minimum height of window
  75. minimum_width = 300, -- minimum height of window
  76. maximum_width = 300, -- maximum height of window
  77.  
  78. --Graphical
  79.  
  80. border_inner_margin = 10, -- margin between border and text
  81. border_outer_margin = 5, -- margin between border and edge of window
  82. border_width = 0, -- border width in pixels
  83. default_bar_width = 80, -- default is 0 - full width
  84. default_bar_height = 10, -- default is 6
  85. default_gauge_height = 25, -- default is 25
  86. default_gauge_width =40, -- default is 40
  87. default_graph_height = 40, -- default is 25
  88. default_graph_width = 0, -- default is 0 - full width
  89. default_shade_color = '#000000', -- default shading colour
  90. default_outline_color = '#000000', -- default outline colour
  91. draw_borders = false, -- draw borders around text
  92. draw_graph_borders = true, -- draw borders around graphs
  93. draw_shades = false, -- draw shades
  94. draw_outline = false, -- draw outline
  95. stippled_borders = 0, -- dashing the border
  96.  
  97. --Textual
  98.  
  99. extra_newline = false, -- extra newline at the end - for asesome's wiboxes
  100. format_human_readable = true, -- KiB, MiB rather then number of bytes
  101. font = 'Roboto Mono:size=10', -- font for complete conky unless in code defined
  102. max_text_width = 0, -- 0 will make sure line does not get broken if width too smal
  103. max_user_text = 16384, -- max text in conky default 16384
  104. override_utf8_locale = true, -- force UTF8 requires xft
  105. short_units = true, -- shorten units from KiB to k
  106. top_name_width = 21, -- width for $top name value default 15
  107. top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false.
  108. uppercase = false, -- uppercase or not
  109. use_spacer = 'none', -- adds spaces around certain objects to align - default none
  110. use_xft = true, -- xft font - anti-aliased font
  111. xftalpha = 1, -- alpha of the xft font - between 0-1
  112.  
  113. --Windows
  114.  
  115. own_window = true, -- create your own window to draw
  116. own_window_argb_value = 100, -- real transparency - composite manager required 0-255
  117. own_window_argb_visual = true, -- use ARGB - composite manager required
  118. own_window_colour = '#000000', -- set colour if own_window_transparent no
  119. own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it
  120. own_window_transparent = true, -- if own_window_argb_visual is true sets background opacity 0%
  121. own_window_title = 'system_conky', -- set the name manually - default conky "hostname"
  122. own_window_type = 'desktop', -- if own_window true options are: normal/override/dock/desktop/panel
  123.  
  124. --Colours
  125.  
  126. default_color = '#D9DDE2', -- default color and border color
  127. color1 = '#FF0000',
  128. color2 = '#597AA1',
  129. color3 = '#cccccc',
  130. color4 = '#D9BC83',
  131. color5 = '#00BFFF',
  132. color6 = '#FFFFFF',
  133.  
  134. --Signal Colours
  135. color7 = '#1F7411', --green
  136. color8 = '#FFA726', --orange
  137. color9 = '#F1544B', --firebrick
  138.  
  139. --Lua
  140.  
  141.  
  142. };
  143.  
  144. conky.text = [[
  145. ${color6}${voffset 4}${font GE Inspira:size=36}${alignc}${time %l}:${time %M} ${time %p}${font}${color}
  146. ${color6}${voffset 4}${font GE Inspira:size=12}${alignc}${time %A} ${time %B} ${time %e}, ${time %Y}${font}${color}
  147.  
  148. ${color5}${font Roboto:size=10}${voffset 2}S Y S T E M ${hr 2}${font}${color}
  149. ${color2}${voffset 8}Hostname:${color} ${alignr}${nodename}
  150. ${color2}Distro:${color}${alignr}$sysname ${alignr}${execi 6000 lsb_release -a | grep 'Description'|awk {'print $3, $4, $5'}}
  151. ${color2}Kernel:${color}${alignr}${exec uname} ${exec uname -r}
  152. ]];
  153.  
Advertisement
Add Comment
Please, Sign In to add comment