Text overlay support
This commit is contained in:
@@ -22,8 +22,10 @@ type PollConfig struct {
|
||||
|
||||
// KeyConfig defines what a single Stream Deck key does.
|
||||
type KeyConfig struct {
|
||||
Icon string `yaml:"icon"` // filename relative to icons_dir (regular keys)
|
||||
Command string `yaml:"command"` // shell command to run on press
|
||||
Icon string `yaml:"icon"` // filename relative to icons_dir (regular keys)
|
||||
Text string `yaml:"text"` // text overlay on the key (auto-sized, supports newlines)
|
||||
TextColor string `yaml:"text_color"` // text color: "white" (default), "black", "red", "blue", or hex "#RRGGBB"
|
||||
Command string `yaml:"command"` // shell command to run on press
|
||||
|
||||
// Toggle/status keys: show different icons based on polled state.
|
||||
IconTrue string `yaml:"icon_true"` // icon when poll match is true
|
||||
|
||||
Reference in New Issue
Block a user