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

Various internal improvements #51

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bebehei
Copy link
Contributor

@bebehei bebehei commented Nov 13, 2017

I went over the code after doing #49. Here are some internal improvements on the code.

Mostly, this is code deduplication and some shellcheck stuff.

notify-send allows to set a parameter multiple times, but take the last
one precedence. Therefore we can dedup most of the stuff by setting the
default values (and let it override by special call).
@graysky2 graysky2 force-pushed the master branch 2 times, most recently from 6242df0 to 4115a1c Compare September 12, 2019 19:27
@graysky2 graysky2 force-pushed the master branch 3 times, most recently from bb1dbd9 to 1eb2a0c Compare May 9, 2021 14:10
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.

1 participant