Skip to content

Various internal improvements#51

Open
bebehei wants to merge 5 commits into
graysky2:masterfrom
bebehei:improvements
Open

Various internal improvements#51
bebehei wants to merge 5 commits into
graysky2:masterfrom
bebehei:improvements

Conversation

@bebehei

@bebehei bebehei commented Nov 13, 2017

Copy link
Copy Markdown
Contributor

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