Skip to content

Persistent configuration, overflow display, and configuration alias oh my!

Latest
Compare
Choose a tag to compare
@demonnic demonnic released this 31 Jan 02:04

Overflow display

If you go over 100% on the gauge, it will now represent this on the front end of the gauge. For instance, if you are at 130% then the first 30% will be the overflowCharacter in the overflowColor for that gauge, and the remainder will be the fillCharacter in the fillColor for that gauge. Here's a visual example.

image

configuration saving and loading

Now automatically loads a config file if one is found on disk. Does -not- automatically save a configuration file, as I feel like this should be a conscious decision, especially with only one save file.

configuration alias

  • dvg
    • displays the configuration
  • dvg save
    • saves configuration to disk
  • dvg load
    • loads configuration from disk.
    • will happen automatically on profile load/script save if there is a saved config file
  • dvg config <item> <newValue> or dvg cfg <item> <newValue>
    • sets a configuration value.
    • Valid items for this form are font, fontSize, minimum_length_for_percent, and singleColumn
    • examples:
      • dvg config fontSize 14
      • dvg config font Terminus
    • see below for interacting with individual gauges
  • dvg config <gauge> <item> <newValue> or dvg cfg <gauge> <item> <newValue>
    • Sets a configuration value for a specific gauge
    • valid gauges are health, mana, ego, and power
    • valid items are most easily viewed using dvg and reading over any of the gauges
    • examples:
      • dvg cfg health fillCharacter $
      • dvg config power overflowColor blue

Unfortunately, config saving and loading wasn't a thing before this release, but until there is a valid config file saved you can edit the config in the script the same way as before, or adjust it using the dvg alias, and then dvg save when you are happy with it. From here on out your config will be saved through future updates.

Sorry for not implementing this sooner.