Skip to content

feat: add notification-thumbnail config/cmdline option to allow sending notification with image thumbnail rather than app icon - #583

Merged
RobertMueller2 merged 8 commits into
Satty-org:mainfrom
RobertMueller2:preview_notification
Aug 2, 2026
Merged

RobertMueller2 merged 8 commits into
Satty-org:mainfrom
RobertMueller2:preview_notification

Conversation

@RobertMueller2

@RobertMueller2 RobertMueller2 commented Jul 12, 2026 •

Copy link
Copy Markdown
Member

Closes: #426

Also gets rid of redundant !APP_CONFIG.read().disable_notifications() by placing that one centrally in log_result.

@RobertMueller2

Copy link
Copy Markdown
Member Author

The clippy warning happen in main, too. I'll open a separate PR for that.

@robertwidfen robertwidfen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Works nicely - just two comments below.

Luckily, I've just set up Noctalia, so the thumbnails are showing up nicely.

Comment thread src/notification.rs Outdated
Comment thread src/notification.rs Outdated

@robertwidfen robertwidfen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM - just change the enum and update config & README and then merge.

Comment thread cli/src/command_line.rs Outdated
Comment thread config.toml Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
@robertwidfen

Copy link
Copy Markdown
Collaborator

Rethinking this just one time more an it should be:

--notification-thumbnail=screenshot
--notification-thumbnail=app-icon

@robertwidfen robertwidfen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

--notification-thumbnail=screenshot

@RobertMueller2
RobertMueller2 merged commit 0878134 into Satty-org:main Aug 2, 2026
3 checks passed
@RobertMueller2
RobertMueller2 deleted the preview_notification branch September 13, 2026 06:05
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.

[Feature Request] Include the screenshot image saved as icon or miniature in notifications

2 participants