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

Dev #10

Merged
merged 57 commits into from
Jul 15, 2020
Merged

Dev #10

merged 57 commits into from
Jul 15, 2020

Conversation

Liupold
Copy link
Owner

@Liupold Liupold commented Jul 12, 2020

Improvements:

  • CLI like flags support
  • loop is now build in
  • pstree parsing is much more stable thanks to SeerLite
  • pipe support.
  • Typo fixed.
  • Super simple to use and install.

Liupold and others added 30 commits July 10, 2020 12:11
Not sure how to handle return statuses yet but I know it's better to
return it to main than exit from inside a function.
Small fixes , fix for multiple flag ghosting.
@Liupold
Copy link
Owner Author

Liupold commented Jul 13, 2020

This should fix #2 .

@Liupold
Copy link
Owner Author

Liupold commented Jul 14, 2020

Did it mess up the performance too much or do you think this method is better?

I didn't know it was executing on each even (my poor testing). It wasn't slow but on a laptop its counts (specialty on battery). Moreover I this is much more effective as someone might accidentally run pidswallow --loop twice. This is just simply not possible now. What do you think?

@Liupold Liupold marked this pull request as ready for review July 14, 2020 05:04
@SeerLite
Copy link
Collaborator

Did it mess up the performance too much or do you think this method is better?

I didn't know it was executing on each even (my poor testing). It wasn't slow but on a laptop its counts (specialty on battery). Moreover I this is much more effective as someone might accidentally run pidswallow --loop twice. This is just simply not possible now. What do you think?

Oh I completely missed this reply haha, sorry! Good thing we figured out doesn't use too many resources.
I also did some quick tests by monitoring htop now, and I think it's all fine. The only way the script could start causing problems is if there's lots of constant window/wm/xorg activity, and at that point I'm sure it's gonna be Xorg or even bspwm using more resources than our little script heh

IMO it's all ready to be merged now!

@Liupold Liupold merged commit 02fd8a2 into master Jul 15, 2020
@Liupold
Copy link
Owner Author

Liupold commented Jul 15, 2020

Merged, thanks a lot for all that awesome job.

Liupold added a commit that referenced this pull request Jul 23, 2020
Merge pull request #10 from Liupold/dev
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.

2 participants