Skip to content

feat(music): add smart window focus to music popup source link#90

Open
brendancohan wants to merge 1 commit into
ilyamiro:masterfrom
brendancohan:feature/music-popup-focus
Open

feat(music): add smart window focus to music popup source link#90
brendancohan wants to merge 1 commit into
ilyamiro:masterfrom
brendancohan:feature/music-popup-focus

Conversation

@brendancohan

Copy link
Copy Markdown

Many widgets like this are useful for myself and other like me because the audio source is usually left running on another workspace in the background for some time working. Having a quick link in these widgets to focus the audio source has always been a great simple convenience feature for me.

Added a MouseArea link from the "VIA - Source" text that links to the app window source of the audio. hpyrctl and jq will search and match the music data and switch focus to that workspace and window. To allow a clean exit of the QML, switched to Quickshell.execDetached as well.

@fezzik-the-giant

Copy link
Copy Markdown
Contributor

This looks good. @ilyamiro can we get this merged into baseline?

@ilyamiro

Copy link
Copy Markdown
Owner

Yes, in a few hours

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.

3 participants