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

[Feature] Optional notification title #41

Merged
merged 2 commits into from
Aug 15, 2023
Merged

Conversation

TrimVis
Copy link
Contributor

@TrimVis TrimVis commented Jul 12, 2023

I couldn't find any information about merging new features, therefore I hope I'm doing this the correct way :)

I personally prefer my notifications to show the program in the summary and the action/information in the notification body.
This PR adds the @tnotify-verbose-title, if it is not set the behavior is unchanged to the current one.
However if it is set, the summary will be replaced with the corresponding value and the @tnotify-verbose-msg will be shifted to the message body.

I'm open for suggestions, but I think this is a sensible way to users to set a custom body as well as summary

@rickstaa rickstaa added the enhancement A new feature or product improvement. label Jul 19, 2023
@rickstaa
Copy link
Owner

@TrimVis, thanks a lot for this pull request 🚀! We are in the middle of migrating this repository to my account. I will take a look after #38 is fixed 👍🏻

@rickstaa rickstaa deleted the branch rickstaa:main August 15, 2023 14:01
@rickstaa rickstaa closed this Aug 15, 2023
@rickstaa rickstaa reopened this Aug 15, 2023
@rickstaa rickstaa changed the base branch from master to main August 15, 2023 14:03
@rickstaa rickstaa merged commit 411f535 into rickstaa:main Aug 15, 2023
1 check passed
rickstaa added a commit that referenced this pull request Aug 15, 2023
* Added optional notification title

* refactor: small code improvements

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
@rickstaa
Copy link
Owner

rickstaa commented Aug 15, 2023

@TrimVis, thanks a lot for your contribution 🚀. Your pull request has been included in https://github.com/rickstaa/tmux-notify/releases/tag/v1.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or product improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants