Advertisement
Guest User

conkyrc

a guest
May 6th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.58 KB | None | 0 0
  1. --[[ conky configuration
  2. ------------------------------
  3. For conky variables and commands use the terminal command:
  4.  
  5. man conky
  6.  
  7. ------------------------------
  8. BunsenLabs conky threads
  9.  
  10. Index » Scripts, Tutorials & Tips » Conky - Calendars / Clocks / Time
  11. https://forums.bunsenlabs.org/viewtopic.php?id=516
  12.  
  13. Open a thread and post conky questions in: Index » GUI & Applications
  14. https://forums.bunsenlabs.org/viewforum.php?id=4
  15.  
  16. Display your completed conky and codes
  17. Index » Scripts, Tutorials & Tips » Show us your conky
  18. https://forums.bunsenlabs.org/viewtopic.php?id=512
  19.  
  20. ------------------------------
  21. BunsenLabs conky scripts help
  22. Openbox Menu/Preferences/Conky/Conky Manager Help
  23.  
  24. If there are one or more conkys running, it is possible to kill one conky with
  25. the following command, IF you used what is between the quotes to start the conky, e.g.:
  26. pkill -xf "conky -q -c $HOME/.config/conky/BL-Default.conkyrc"
  27. ]]
  28.  
  29.  
  30. conky.config = {
  31.  
  32. -- Window Settings
  33. own_window = true,
  34. own_window_type = 'desktop',
  35. own_window_transparent = true,
  36. own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
  37. own_window_colour = '000000',
  38. own_window_class = 'Conky',
  39. own_window_title = 'BunsenLabs Default Conky',
  40.  
  41. -- ARGB can be used for real transparency
  42. --own_window_argb_visual = true, -- Options: true|false
  43.  
  44. -- NOTE that a composite manager is required for real transparency and ARGB will not
  45. -- work as desired (in most cases) in conjunction with 'own_window_type override'.
  46. -- Use with: own_window_type = 'normal',
  47. -- Use with: own_window_transparent = false,
  48.  
  49. -- When ARGB visuals are enabled, use the following to modify the alpha value. Valid
  50. -- range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
  51. --own_window_argb_value = 150,
  52.  
  53. minimum_width = 200, minimum_height = 0,-- width | height
  54. maximum_width = 200,
  55.  
  56. gap_x = 20,-- left | right
  57. gap_y = 45,-- up | down
  58.  
  59. alignment = 'top_right',
  60. -- End Window Settings
  61.  
  62.  
  63. -- Font Settings
  64. -- Use Xft (anti-aliased font and stuff)
  65. use_xft = true,
  66.  
  67. --font = 'Liberation Mono:bold:size=10',
  68. --font = 'Liberation Sans:size=10',
  69. font = 'Sans-serif:size=10',
  70.  
  71. -- Alpha of Xft font. Must be a value at or between 1 and 0
  72. xftalpha = 1,
  73.  
  74. -- Force UTF8? requires XFT
  75. override_utf8_locale = true,
  76.  
  77. uppercase = false,
  78. -- End Font Settings
  79.  
  80.  
  81. -- Color Settings
  82. draw_shades = false,
  83. default_shade_color = '000000',
  84.  
  85. draw_outline = false,-- amplifies text if true
  86. default_outline_color = '000000',
  87.  
  88. default_color = '678b8b', -- Beam green
  89. --default_color = '656667', -- Waldorf original colour
  90. --default_color = '7a7a7a', -- Flame & BunsenLabs Grey
  91. --default_color = '929292', -- BunsenLabs Grey
  92. --default_color = 'C0C0C0', -- BunsenLabs Silver
  93. color0 = 'B0E0E6',-- PowderBlue
  94. color1 = '778899',-- LightSlateGray
  95. color2 = 'D8BFD8',-- Thistle
  96. color3 = '9ACD32',-- YellowGreen
  97. color4 = 'FFA07A',-- LightSalmon
  98. color5 = 'FFDEAD',-- NavajoWhite
  99. color6 = '00BFFF',-- DeepSkyBlue
  100. color7 = '5F9EA0',-- CadetBlue
  101. color8 = 'BDB76B',-- DarkKhaki
  102. color9 = 'C0C0C0',-- Silver
  103. -- End Color Settings
  104.  
  105.  
  106. -- Borders Section
  107. draw_borders = false,
  108. -- Stippled borders?
  109. stippled_borders = 5,
  110. -- border margins
  111. border_inner_margin = 5,
  112. border_outer_margin = 0,
  113. -- border width
  114. border_width = 2,
  115. -- graph borders
  116. draw_graph_borders = false,
  117. --default_graph_height = 15,
  118. --default_graph_width = 40,
  119. -- End Borders Section
  120.  
  121.  
  122. -- Miscellaneous Section
  123. -- Boolean value, if true, Conky will be forked to background when started.
  124. background = true,
  125.  
  126. -- Adds spaces around certain objects to stop them from moving other things
  127. -- around, this only helps if you are using a mono font
  128. -- Options: right, left or none
  129. use_spacer = 'none',
  130.  
  131. -- Default and Minimum size is 256 - needs more for single commands that
  132. -- "call" a lot of text IE: bash scripts
  133. --text_buffer_size = 6144,
  134.  
  135. -- Subtract (file system) buffers from used memory?
  136. no_buffers = true,
  137.  
  138. -- change GiB to G and MiB to M
  139. short_units = true,
  140.  
  141. -- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
  142. -- $image lots. Set to 0 to disable the image cache.
  143. imlib_cache_size = 0,
  144.  
  145. -- Use the Xdbe extension? (eliminates flicker)
  146. -- It is highly recommended to use own window with this one
  147. -- so double buffer won't be so big.
  148. double_buffer = true,
  149.  
  150. -- Maximum size of user text buffer, i.e. layout below TEXT line in config file
  151. -- (default is 16384 bytes)
  152. --max_user_text = 16384,
  153.  
  154. -- Desired output unit of all objects displaying a temperature. Parameters are
  155. -- either "fahrenheit" or "celsius". The default unit is degree Celsius.
  156. --temperature_unit = 'Fahrenheit',
  157.  
  158. -- Update interval in seconds
  159. update_interval = 1,
  160.  
  161. -- End Miscellaneous Section
  162. };
  163.  
  164.  
  165. conky.text = [[
  166. S Y S T E M I N F O
  167. ${hr}
  168. Host:${alignr}${nodename}
  169. Uptime:${alignr}${uptime}
  170. RAM:$alignr${mem} / ${memmax}
  171. Swap usage:${alignr}${swap} / ${swapmax}
  172. Disk usage:$alignr${fs_used /} / ${fs_size /}
  173. #Root usage:$alignr${fs_used /} / ${fs_size /}
  174. Home usage:$alignr${fs_used /home} / ${fs_size /home}
  175. CPU Average:${alignr}${cpu cpu0}%
  176. CPU TEMP:${alignr}${acpitemp} C
  177. ${hr}
  178. Logged In:${alignr} ${user_number}
  179. Time In:${alignr} ${user_times}
  180. Users:${alignr} ${user_names}
  181.  
  182. #
  183. # Weather information from openweathermap.org can be displayed in conky by
  184. # using the script $HOME/.config/conky/scripts/bunsenweather.sh. The openweathermap
  185. # service requires registration in order to receive an API Key, which has to be
  186. # added to bunsenweather.sh. For further info see this script and the following thread:
  187. # https://forums.bunsenlabs.org/viewtopic.php?id=2060
  188. #
  189. # Calling bunsenweather.sh from conky works by using
  190. # ${execpi <t> /path/to/bunsenweather.sh "yourlocation"}
  191. # where <t> is the update interval. If "yourlocation" is not defined, the script
  192. # sets geolocation based on your IP adress using the website ipinfo.io.
  193. #
  194. #W E A T H E R
  195. #${hr}
  196. #${execpi 600 $HOME/.config/conky/scripts/bunsenweather.sh}
  197.  
  198. S H O R T C U T K E Y S
  199. ${hr}
  200. Alt + F2${alignr}Run Dialog
  201. Alt + F3${alignr}Alt Menu
  202. Super${alignr}Main Menu
  203. Super + Tab${alignr}Client Menu
  204. Super + t${alignr}Terminal
  205. Super + f${alignr}File Manager
  206. Super + e${alignr}Editor
  207. Super + m${alignr}Media Player
  208. Super + w${alignr}Web Browser
  209. Super + h${alignr}Task Manager
  210. Super + l${alignr}Lock Screen
  211. Super + v${alignr}Volume Control
  212. Super + x${alignr}Logout
  213. PrtSc${alignr}Screenshot
  214. ]];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement