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

I need to sleep 1 #19

Open
bhepple opened this issue Jul 2, 2022 · 2 comments
Open

I need to sleep 1 #19

bhepple opened this issue Jul 2, 2022 · 2 comments

Comments

@bhepple
Copy link
Contributor

bhepple commented Jul 2, 2022

I've found that if I 'sleep 0.5' after nwg-wrapper and before running swaylock/gtklock, it doesn't always display correctly. Increasing the sleep to 1 second fixes it. I daresay this depends on the CPU speed etc, but it might be a good idea to document it in the README

nwg-piotr added a commit that referenced this issue Jul 2, 2022
@nwg-piotr
Copy link
Owner

Feel free to submit PRs. I wrote this script on demand, but I use it hardly ever.

@bhepple
Copy link
Contributor Author

bhepple commented Jul 3, 2022

Hmmm - it seems 1s was not enough. Nor 1.5s

I will try to narrow it down a bit more.

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

No branches or pull requests

2 participants