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

Support the transient behavior for the linux backend #154

Merged
merged 1 commit into from Oct 1, 2017

Conversation

rhabbachi
Copy link

Using ntfy with the Gnome desktop can very quickly fillup the panel's message tray.

ntfy_terminal

This PR Adds support for making the notification "skip the history". The notification message will show up as usual, but it does not persist in the notification history if available (in my case the message tray).

This is achieved on Linux desktop by setting the "transient" hint: notify-send -t 1 --hint int:transient:1 "this is a test"

@dschep
Copy link
Owner

dschep commented Sep 28, 2017

omg awsome! That's been bugging me too. I'll merge and tweak this a bit later and probably make transient the default for shell-integration and make the variable check based on truthyness (with special case of the string "false" being falsey)

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.8%) to 83.908% when pulling 885d717 on rhabbachi:linux-transient-opt into 7a79b95 on dschep:master.

@dschep dschep merged commit 885d717 into dschep:master Oct 1, 2017
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.

None yet

3 participants