Open ScuttleSE opened 3 years ago
just noticed you can set the env var STREAMDECK_UI_CONFIG
to point to a different config.
However I'd also be in favor of keeping the home folder clean and using a different default location like ~/.config/streamdeck-ui/config.json
. Plus it makes it easier to bundle it with custom bash scripts (that were created exclusively for use within the application) and possibly icon sets in the same directory. So everything config is in one place.
This makes sense to me. What do you think about images also automatically being copied into this directory when you select them? It always seemed a bit odd to me that it's directly referencing the image from the source location. You are basically forced to make a manual directory to keep your images anyways, otherwise you risk deleting the image later and not realizing you've broken the streamdeck buttons.
Having the config and images in a directory makes it easy to ZIP and share with someone else or another machine. In theory, it also sets the stage for potentially having "profiles". I.e. switching to an entirely new config and images.
Only tricky bit I see is that one would need a "one time upgrade" to migrate to this new scheme.
I was thinking about that, too, but first wanted to wait how that suggested config relocation does before elaborating on my secret plan any further :)
This might be controversial but on that note I'd even suggest to auto-convert images to png thumbnails of max 288x288px once they are imported for the first time. The reason being that when I started playing around with streamdeck I would randomly throw some large image files onto buttons. Those were not previously resized, which works and is convenient but I'd rather not have a library of unnecessarily large duplicates in my config folder. There'd have to be a clever way of keeping track of files that have been copied/converted already, moved around/shared between different buttons, and clean them up once they are not in use anymore. Just to avoid unnecessary overhead when changing minor stuff. Also there's a request #50 to add gif support at some point which has to be accounted for early on when auto-conversion is considered.
Before migrating it would probably also make sense to collect some more new features that could affect the json schema itself so this can be done all in one go. (like: more options to position text overlays, unlimited pages, switch buttons, command output as text overlays etc.)
+1 for pointing to the config file location. It would make it easier to integrate this with my dotfile manager.
hi, this project seems to be stale and a new fork as been made with the intention of replacing this one.
if this still an issue please reopen it at: https://github.com/streamdeck-linux-gui/streamdeck-linux-gui
Would it be possible to have streamdeck save to ~/.config/streamdeck instead of directly into the home folder? Or a command-line parameter where one could point to the config-file?