Advertisement
Dobbie03

Artwork

Dec 30th, 2022 (edited)
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 KB | None | 0 0
  1. conky.config = {
  2. --## Begin Window Settings #####################
  3. own_window = true,
  4. own_window_type = 'override',
  5. own_window_transparent = true,
  6. own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
  7. own_window_colour = '000000',
  8. own_window_class = 'conky',
  9. own_window_title = 'Now Playing Conky',
  10. --## ARGB can be used for real transparency
  11. --## NOTE that a composite manager is required for real transparency.
  12. --## This option will not work as desired (in most cases) in conjunction with
  13. --## own_window_type normal
  14. -- own_window_argb_visual true # Options: yes or no
  15.  
  16. --## When ARGB visuals are enabled, this use this to modify the alpha value
  17. --## Use: own_window_type normal
  18. --## Use: own_window_transparent no
  19. --## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
  20. -- own_window_argb_value 0
  21.  
  22. alignment = 'bottom_left',
  23. minimum_width = 180,
  24. maximum_width = 180,
  25. minimum_height = 180,
  26.  
  27. gap_x = 25,--## left | right
  28. gap_y = 65,--## up | down
  29. --###################### End Window Settings ###
  30. --## Font Settings #############################
  31. -- Use Xft (anti-aliased font and stuff)
  32. use_xft = true,
  33. font = 'SF Pro Text:size=8',
  34.  
  35.  
  36. -- Alpha of Xft font. Must be a value at or between 1 and 0 ###
  37. xftalpha = 1,
  38. -- Force UTF8? requires XFT ###
  39. override_utf8_locale = true,
  40.  
  41. uppercase = false,
  42. --######################## End Font Settings ###
  43. --## Colour Settings ###########################
  44. draw_shades = false,--yes
  45. default_shade_color = 'black',
  46.  
  47. draw_outline = false,-- amplifies text if yes
  48. default_outline_color = 'black',
  49.  
  50. default_color = '#c6c6c6',-- Black
  51. --default_color = '#5a5a5a',-- Black
  52. --default_color = '#a7a7a7',
  53. --default_color = '#212121',
  54. color0 = '#7a7a7a',-- Grey
  55. color1 = '#bf616a',-- Red
  56. color2 = '#a3be8c',-- Green
  57. color3 = '#ebcb8b',-- Yellow
  58. color4 = '#81a1c1',-- Blue
  59. --###################### End Colour Settings ###
  60. --## Borders Section ###########################
  61. draw_borders = false,
  62. -- Stippled borders?
  63. stippled_borders = 0,
  64. -- border margins
  65. border_inner_margin = 0,
  66. border_outer_margin = 0,
  67. -- border width
  68. border_width = 0,
  69. -- graph borders
  70. draw_graph_borders = true,--no
  71. --default_graph_size 15 40
  72. --####################### End Borders Secton ###
  73. --## Miscellaneous Section #####################
  74. -- Boolean value, if true, Conky will be forked to background when started.
  75. background = true,
  76. -- Adds spaces around certain objects to stop them from moving other things
  77. -- around, this only helps if you are using a mono font
  78. -- Options: right, left or none
  79. use_spacer = 'none',
  80.  
  81. -- Default and Minimum size is 256 - needs more for single commands that
  82. -- "call" a lot of text IE: bash scripts
  83. --text_buffer_size 6144
  84.  
  85. -- Subtract (file system) buffers from used memory?
  86. no_buffers = true,
  87.  
  88. -- change GiB to G and MiB to M
  89. short_units = true,
  90.  
  91. -- Like it says, ot pads the decimals on % values
  92. -- doesn't seem to work since v1.7.1
  93. pad_percents = 2,
  94.  
  95. -- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
  96. -- $image lots. Set to 0 to disable the image cache.
  97. imlib_cache_size = 0,
  98.  
  99. -- Use the Xdbe extension? (eliminates flicker)
  100. -- It is highly recommended to use own window with this one
  101. -- so double buffer won't be so big.
  102. double_buffer = true,
  103.  
  104. -- Maximum size of user text buffer, i.e. layout below TEXT line in config file
  105. -- (default is 16384 bytes)
  106. -- max_user_text 16384
  107.  
  108. -- Desired output unit of all objects displaying a temperature. Parameters are
  109. -- either "fahrenheit" or "celsius". The default unit is degree Celsius.
  110. -- temperature_unit Fahrenheit
  111. --################ End Miscellaneous Section ###
  112.  
  113. update_interval = 1,
  114.  
  115. };
  116.  
  117. conky.text = [[
  118. ${if_running mpd}${execi 4 ~/.conky/res/albumart}\
  119. ${image /tmp/cover2.png -p 0,-0 -s 180x180}\
  120. ${else}${image ~/.conky/res/mpd-off.png -p 0,0 -s 250x250}${endif} \
  121. ]];
  122.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement