
---------------------------------------------------------------------------------------------------------------------------
      Spectrum-EQ         written by Koentje   (remon@cobrasoft.nl)
---------------------------------------------------------------------------------------------------------------------------


V3.0  (27 Nov 2026)
-------------------
  The all-in-one-lua-code file was becoming so huge that i lost my sanity! I couldn't find routines anymore and when misplacing
  an 'end' somewere, the whole shit broke in half! ..together with lots of crying, stamping feet and hissing at my keyboard.
  So, i broke it all down to smaller files and shifted them into the ./spectrum-eq/lib folder.
  I hope this will save my life for now..  (and my cat feels save around me again ;)

 - Fixed bug when reflection_fade enabled, caps 'rounded' and 'square' were lost in the reflection. This also fixed some
   minor side effects in skew and rotation
 - Fixed bug reflection_fade disabled forced blockspaces to -1
 - Fixed rainbow_colours overlay. Now Only bars not the whole window gets the color overlay
 - Added option 'rainbow_circular' for bars in a circular spectrum
 - Improved some error handlings when reading files and config values
 - Improved the reading of a spectrum config. First line of every config begins with '[spectrum-config]'
 - Improved the Single Block routine!
 - Changed 'on/off' or '0/1' or 'y/n' switching to booleans true/false for unity
 - Changed some object names for clarity, so old configs don't work anymore with this lua script !!
 - Added 'circle_elipse' to make circular bar spectrum kind of eliptic
 - Added 'circle_percent' for percentage of bars on a straight line to a circlular spectrum
 - Changed circular from true/false to  'circle', 'wave', 'none'
 - Added 'falling_blocks_ontop'. When true, faling blocks stay on top of the bar, when false they sink in the top block
 - Added 'animation_attack' and 'animation_decay' for up- and downwards speed of bars
 - Added option 'falling_height' to set the falling block height
 - Added options to set background image to conky window

 - !! Created an external config live editor/creator: speq-editor !!
 - Added mouseclick events. Left for Speq-Editor, opens a main window to edit/make configs, right for a contextmenu to quickly
   choose another config to run
   If mouse_events="on" then '${lua main_bars <configname>}' in conky doesn't work anymore and config switching only works with
   left or right mouseclick. The running config is stored in '/dev/shm/spectrum-config.running'
   When mouse evenst is turned off, the line in the conky config works again!
 - For a mouse event to work you need to click inside a bar area. Free spaces on the window do not work, only pixels that are
   consumed with bar blocks accept mouse clicks. Even the background blocks that are set to transparent works!
 - When switching configs, lua prints to console which config it runs. When showconfig="on" in settings.ini all the values
   of that config are printed to the console. Also after switching configs, the new values are shown.
 - When in speq-editor a window mask and color is set, lua checks for maskfile. If exist, reads color and sets the background
   of the conky window to a transparent mask color. This way you can see/test were the bars are inside the window.
 - Added option 'Show FPS' to Speq-Editor. When enabled it shows frames per seconds in conky window and in speq-editor.
 - And s'more..


Just play with it!

