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

Replace notify-send with dunstify #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

indeedwatson
Copy link

Dunstify allows for --replace option to replace notification in place.

Add --appname option for proper dunstrc configuration.

Add more filenames.

Dunstify allows for --replace option to replace notification in places.

Add --appname option for proper dunstrc configuration.
@Parranoh
Copy link
Owner

Thank you for your pull request. I believe that some—if not many—users do not have dunst installed because they use Gnome or KDE; thus calling dunstify would cause an error for them. --app-name is also available in plain notify-send; I'm very much inclined to use that, however rather as --app-name=mpv because mpv does not send any other notifications and the file that is playing is not necessarily music.

@@ -1,16 +1,22 @@
local utils = require "mp.utils"

local cover_filenames = { "cover.png", "cover.jpg", "cover.jpeg",
"folder.jpg", "folder.png", "folder.jpeg",
"AlbumArtwork.png", "AlbumArtwork.jpg", "AlbumArtwork.jpeg" }
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AlbumArtwork.* are lost. Is this intentional?

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

2 participants