-
Notifications
You must be signed in to change notification settings - Fork 53
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
notification_command should be renamed #279
Comments
Hi,
That should normally be just one, or maybe two, notification for device removal. Looks like this might have been triggered by some special case of how udisks reports status updates to clients. The notification system needs a rework.
Can you post the program_options:
notify: false (indentation is relevant in .yml!) Notifications can also be disabled individually: notifications:
device_removed: false What does |
Sorry for making it unclear. With The other three notifications, the ones with So I think it is reading the correct config file which is correctly formatted, otherwise it would not have any effect. Anyway here is my
Also:
|
Okay, that explains it I think. You might want to disable out your notify_command: "notify-send --icon=usb-creator --app-name=udiskie '{event}' '{device_presentation}'" Also, note that in your config the setting |
I admit that the name for |
Oh sorry, I'm reusing udiskie since a long time and forgot why I put that line there. Then I just assumed it was the command to send the notifications, not the command that gets called on new event happening :) Maybe we can rename that option |
Agreed, I think changing the name will be an improvement. |
Even with
notify: false
in~/.config/udiskie/config.yml
, udiskie still shows notifications when a USB drive is connected/disconnected.For example, these are the notifications send when a device is removed (obtained from
makoctl history
).We have 3 with summaries
device_removed
, and another one withDevice removed
.In general, I propose to remove the first three notifications, as I don't find them useful.
Otherwise, don't show them when
notify: false
.The text was updated successfully, but these errors were encountered: