mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[GH-ISSUE #89] dynamic config/theme reload? #33
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@aome510 commented on GitHub (Nov 30, 2022):
imo, it should be better to add a command to manually reload the configuration files. Dynamic reload by repeatedly scanning can sometimes be annoying.
@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.
@aome510 commented on GitHub (Dec 5, 2022):
Got it, thanks for the clarifcation.