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

refactor: Extract send_pause_signal function #17

Merged
merged 1 commit into from
Jun 16, 2024
Merged

Conversation

1m-N00b
Copy link
Contributor

@1m-N00b 1m-N00b commented Jun 16, 2024

Hi, I am a big fan of maximbaz and appreciate maximbaz and your hyprland-autoname-workspaces.
I recently came across Rust,I read this project for studying and wanna refactor some lines, so I am Pull Requesting it.
Extracting the send_pause_signal function as reduces the responsibility of the main function and also improves code visibility and maintainability.I also felt it was unclear what the bla in the error message represented, so I changed it to push2talk.
You can reject it if you don't need it.

@cyrinux
Copy link
Owner

cyrinux commented Jun 16, 2024

Hi @1m-N00b,

Thanks for the kind words, and the PR, in those dark times, it's really appreciate.
Regarding "bla", it comes from an example my mentor @maximbaz gave me to remove the process fork of "killall/pkill", and as I commit in the rush ... that is what happen, my bad 🤦🏻‍♂️ .

@cyrinux cyrinux enabled auto-merge June 16, 2024 20:05
@cyrinux cyrinux disabled auto-merge June 16, 2024 20:08
@cyrinux cyrinux merged commit f1ddb62 into cyrinux:main Jun 16, 2024
1 check passed
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