feat(lyrics): improve player and interlude controls (#42)
* feat(lyrics): support multiple MPRIS players * feat(lyrics): add interlude font options
This commit is contained in:
+38
-3
@@ -1,6 +1,6 @@
|
||||
id = "h465855hgg/lyrics"
|
||||
name = "Lyrics"
|
||||
version = "1.1.0"
|
||||
version = "1.3.0"
|
||||
plugin_api = 3
|
||||
author = "h465855hgg"
|
||||
license = "MIT"
|
||||
@@ -9,6 +9,22 @@ tags = ["bar", "service", "music", "media", "animation"]
|
||||
icon = "music"
|
||||
description = "Synchronized lyrics with karaoke highlighting, animated transitions, and flexible lyric sources."
|
||||
|
||||
[[setting]]
|
||||
key = "player_allowlist"
|
||||
type = "string_list"
|
||||
label_key = "settings.player_allowlist.label"
|
||||
description_key = "settings.player_allowlist.description"
|
||||
default = []
|
||||
advanced = true
|
||||
|
||||
[[setting]]
|
||||
key = "player_blocklist"
|
||||
type = "string_list"
|
||||
label_key = "settings.player_blocklist.label"
|
||||
description_key = "settings.player_blocklist.description"
|
||||
default = []
|
||||
advanced = true
|
||||
|
||||
[[setting]]
|
||||
key = "lyrics_source"
|
||||
type = "select"
|
||||
@@ -47,6 +63,25 @@ label_key = "settings.cue_text.label"
|
||||
description_key = "settings.cue_text.description"
|
||||
default = "•••••"
|
||||
|
||||
[[setting]]
|
||||
key = "cue_font_mode"
|
||||
type = "select"
|
||||
label_key = "settings.cue_font_mode.label"
|
||||
description_key = "settings.cue_font_mode.description"
|
||||
default = "follow"
|
||||
options = [
|
||||
{ value = "follow", label_key = "settings.cue_font_mode.options.follow" },
|
||||
{ value = "custom", label_key = "settings.cue_font_mode.options.custom" },
|
||||
]
|
||||
|
||||
[[setting]]
|
||||
key = "cue_font_family"
|
||||
type = "string"
|
||||
label_key = "settings.cue_font_family.label"
|
||||
description_key = "settings.cue_font_family.description"
|
||||
default = "sans-serif"
|
||||
visible_when = { key = "cue_font_mode", values = ["custom"] }
|
||||
|
||||
[[setting]]
|
||||
key = "scroll_mode"
|
||||
type = "select"
|
||||
@@ -102,7 +137,7 @@ options = [
|
||||
key = "max_chars"
|
||||
type = "int"
|
||||
label_key = "settings.max_chars.label"
|
||||
default = 24
|
||||
default = 15
|
||||
min = 8
|
||||
max = 80
|
||||
description_key = "settings.max_chars.description"
|
||||
@@ -156,7 +191,7 @@ entry = "lyrics.luau"
|
||||
type = "color"
|
||||
label_key = "settings.active_color.label"
|
||||
description_key = "settings.active_color.description"
|
||||
default = "primary"
|
||||
default = "on_surface"
|
||||
|
||||
[[widget.setting]]
|
||||
key = "inactive_color"
|
||||
|
||||
Reference in New Issue
Block a user