Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Open lyrics with a desired browser (not default) #2879

Open
dmnmsc opened this issue Dec 9, 2021 · 2 comments
Open

[FEATURE] Open lyrics with a desired browser (not default) #2879

dmnmsc opened this issue Dec 9, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@dmnmsc
Copy link

dmnmsc commented Dec 9, 2021

Is your feature request related to a problem? Please describe.
I miss an option to open lyrics in a different webrowser. I like to see the lyrics in a tiny panel (wihout search bar, buttons and so) next to spotify. So everytime I open swaglyrics I need to resize and move my browser. Problem comes when I open a different link and goes to that tiny window -I need to resize it as well.

Describe the solution you'd like
I'd like to have a flag or an option to set the browser you want to use: swaglyrics -t google-chrome-stable

Describe alternatives you've considered
We could also open swaglyrics with a web application installed by a browser. I.E: swaglyrics -t /opt/google/chrome/google-chrome --profile-directory=Default --app-id=XXXXXXXXXXXXXXXXXXXXX --app-url=http://127.0.0.1:5042/

Thank you very much-

@dmnmsc dmnmsc added the enhancement New feature or request label Dec 9, 2021
@aadibajpai
Copy link
Member

I will look into seeing how python can open a page using a non-default browser. I am not super sure I understand the web application installed by a browser part, how does that work?

Thanks for using swaglyrics!

@dmnmsc
Copy link
Author

dmnmsc commented Dec 9, 2021

Thank you very much!

I am not super sure I understand the web application installed by a browser part, how does that work?
Using browsers as chromium, chrome or edge you can open websites as a standalone apps. You just need to tap install or create a shortcut:
image

Then you will see this dialog allowing you to set window mode
image

And then you will have the website installed as an app -being able to launch it from your system launcher. This app won't have search bar and will be independent to browser. So this way we can resize the app and use it as a tiny panel. Moreover, links won't open on this new standalone app but in default browser.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants