[GH-ISSUE #89] dynamic config/theme reload? #33

Closed
opened 2026-03-02 23:43:51 +03:00 by kerem · 3 comments
Owner

Originally created by @overtoneblue on GitHub (Nov 30, 2022).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/89

I was wondering if there is a way to have the config/theme of spotify-player reload when the app.toml file is changed? particularly when a theme is changed. I know the SwitchTheme command works great, however if there is any option to repeatedly scan for the theme and update it would be nice

Originally created by @overtoneblue on GitHub (Nov 30, 2022). Original GitHub issue: https://github.com/aome510/spotify-player/issues/89 I was wondering if there is a way to have the config/theme of spotify-player reload when the app.toml file is changed? particularly when a theme is changed. I know the SwitchTheme command works great, however if there is any option to repeatedly scan for the theme and update it would be nice
kerem 2026-03-02 23:43:51 +03:00
Author
Owner

@aome510 commented on GitHub (Nov 30, 2022):

however if there is any option to repeatedly scan for the theme and update it would be nice

imo, it should be better to add a command to manually reload the configuration files. Dynamic reload by repeatedly scanning can sometimes be annoying.

<!-- gh-comment-id:1332373147 --> @aome510 commented on GitHub (Nov 30, 2022): > however if there is any option to repeatedly scan for the theme and update it would be nice imo, it should be better to add a command to manually reload the configuration files. Dynamic reload by repeatedly scanning can sometimes be annoying.
Author
Owner

@overtoneblue commented on GitHub (Dec 5, 2022):

I would tend to agree actually, the main reason I was asking is because I'm trying to create a "theme changer" script. To adjust themes of various applications all at once, If I was able to reload the spotify-player config externally, that would be ideal. For example, running a command like "spotify_cli refresh" from a bash script would reload my active session in the spotify_player tui, to reflect a differnt colorscheme.

<!-- gh-comment-id:1336976172 --> @overtoneblue commented on GitHub (Dec 5, 2022): I would tend to agree actually, the main reason I was asking is because I'm trying to create a "theme changer" script. To adjust themes of various applications all at once, If I was able to reload the spotify-player config externally, that would be ideal. For example, running a command like "spotify_cli refresh" from a bash script would reload my active session in the spotify_player tui, to reflect a differnt colorscheme.
Author
Owner

@aome510 commented on GitHub (Dec 5, 2022):

Got it, thanks for the clarifcation.

<!-- gh-comment-id:1337899730 --> @aome510 commented on GitHub (Dec 5, 2022): Got it, thanks for the clarifcation.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#33
No description provided.