-
Notifications
You must be signed in to change notification settings - Fork 15
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
opening firefox - open a normal hyprland window #35
Comments
Sorry, I'm not getting the issue. |
shouldn't the window appear floating? |
It should yes, but you also mention:
Which means it didn't work for some reason (firefox is already launched ?)... If I try your configuration, I see this window config:
So the class doesn't work as you expect, that's why pypr isn't able to set the floating state. So that's not a bug, the class of the window must match the "class" attribute in pyprland configuration . I'm sure it will work as you expect once you figured how to set firefox's class, I'm not using it so I can't help for that. |
Thanks! though i thought without the class it should go with the |
Welcome! I don't have much experience using webapps as scratchpads but you may be interested in #31 . On google I found some bugs for chrome regarding "class" handling, I can imagine there are similar issues with firefox. |
I was able to make it work using some additional flags and a separate profile:
It's important to use a different profile, otherwise firefox will refuse to open a new instance. Also, Optionally you can go into your profile and change the CSS to hide the tab and url bars, to get a pseudo full screen window. I'm using this to display some documents for work, it's really nice this way :) |
thank you @CaptaiNiveau i'll give it a try later this week |
tried this configuration:
get this error:
Failed spawning nixpkgs-search as proc 608846 "firefox --new-window https://search.nixos.org/packages": The command terminated sucessfully, is it already running? Failed to show nixpkgs-search, aborting.
PS. also tried without the class
The text was updated successfully, but these errors were encountered: