Skip to content

refresh command-output icons#486

Open
mrsteve0924 wants to merge 1 commit into
WayfireWM:masterfrom
mrsteve0924:command-output-icon
Open

refresh command-output icons#486
mrsteve0924 wants to merge 1 commit into
WayfireWM:masterfrom
mrsteve0924:command-output-icon

Conversation

@mrsteve0924

Copy link
Copy Markdown
Contributor

This PR adds support for dynamic command-output icons.

When the icon is specified as a filesystem path, it is reloaded after each command execution on the configured refresh interval. This allows icons for such such things as album art or weather icons to update automatically.

Icons specified by name (theme icons) continue to use the original static behavior and are not reloaded.

Reload icons specified by a filesystem path after command execution
completes. This allows dynamic icons such as album art to update on
the widget refresh interval while preserving the original behavior
for static theme icons.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant