-
Notifications
You must be signed in to change notification settings - Fork 16
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
Scratchpads running, but wont show up #40
Comments
what happens if you launch the app from a terminal instead ? |
this is the configuration i generally have for a few windows:
this one:
makes the window not appear when trying to toggle it, but I've only encountered this problem with programs running trough xwayland. So when i launch the application without this window rule it seems to work as intended, but if not it won't appear. |
Oh ok, if you added some special configuration like this it's probably the problem since it's not using the same as the internal settings. Pypr will set the workspace and floating state for you, no need for a configuration if you set the |
Unfortunately that does not fix the problem, for example vs code does not even appear when the class attribute is set, qbittorrent and vlc appear but lose functionality, after some certain actions (when removing a torrent in qbittorrent, or when pressing any button in vlc) they freeze and cannot be interacted with. When i remove the class attributes they work as intended. I have no clue as to what could be causing the issues. |
Not all apps get the same parameters. I'm also wondering what kind of problem you experience on your system, it's not really something that can be produced by Pyprland. |
Unfortunately I've had no luck with fixing this problem. I usually check for classes by doing Since the specific class for vscode is "code-oss", at least on my system ,setting anything other than that just executes the command and displays another instance of vscode. And if the class "code-oss" is set it just creates a new instance every time but places it in a special workspace, making me unable to actually display the program. Currently i have no clue as to what could be causing the problem. |
I just tested vscode, it's indeed broken because the process exits and behaves like a progressive web app. I had success with the following configuration (you will probably need to adapt command & class to match your system): [scratchpads.code]
animation = "fromLeft"
command = "code"
lazy = true
class = "Code"
process_tracking = false
size = "40% 45%"
position = "5% 5%" |
In short, you must use "class" and try combinations of Is it working for you ? |
Tried setting the process tracking to false and different class names but didn't have any luck with setting it up to work :/. Maybe it has something to do with the fact that i use code oss the open source version, but i dont know how it could be different. Either way I'll probably refrain from using some apps as scratchpads for now, there are probably deeper issues not related to pyprland for some programs. |
Did you also enable class matching ? |
Sorry for the trouble, i did manage to make it work with [scratchpads.code] You are right, i misunderstood the documentation and did not try with class matching. Seems to be working perfectly now. Thank you for your time and your help! |
Glad it's finally working :) |
I'm experiencing a problem where when i run an application in a scratchpad it does run the program but wont display it. I think this problem occurs when a program is running trough xwayland instead of native wayland, since everything I've tried so far suggests that being the issue. It would be nice if someone could try reproducing it because I've not seen anyone online raise this issue. I'm running arch linux if that information helps.
Maybe this isn't even a pyprland problem but a hyprland one, not sure.
The text was updated successfully, but these errors were encountered: