Skip to content

Instantly share code, notes, and snippets.

@carsondarling
Last active September 6, 2021 09:15
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carsondarling/6217755 to your computer and use it in GitHub Desktop.
Save carsondarling/6217755 to your computer and use it in GitHub Desktop.
Replacement for notify-send to auto-remove notifications for Gnome Shell.
#!/bin/sh
# Save this script as /usr/local/bin/notify-send and make sure to chmod +x!
# NOTE: This has not been extensively tested, though it does work with
# XChat. Let me know if it works with others!
# Make all notify-send calls go away after they've popped up
/usr/bin/notify-send --hint int:transient:1 $@
@porjo
Copy link

porjo commented Feb 16, 2018

I was wondering how to stop the old messages cluttering the notifications inbox. This does it. Thanks!

@thebunnyrules
Copy link

THANK YOU!!!!!!!!!!!!!!!!!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment