Skip to content

Conversation

@geekmdtravis
Copy link

@geekmdtravis geekmdtravis commented Sep 9, 2025

Changes to be committed:
modified: hyprshot

Addressed the following issues:

  • Allow the user to leverage their system settings for the timeout in notify-send. Previously, the timeout was defaulting to 5000 ms, which is quite long for an information message. While it could be changed, it was not responsive to or respecting system settings.

  • Fix the icon for the notifications. The information icon was not displayed when a screenshot was taken since the priority of the message was not given as an argument to notify-send. By adding the 'dialog-information' priority, the icon is displayed conditionally when the screenshot is taken and not saved to a file. When saved to a file, the screenshot is used as the icon.

  • Improved readability of the notifications title and body text. The name of the tool, Hyprshot, is now displayed in the title, and the body includes clarifying text indicating the screenshot was taken rather than the more generic verbiage about an image being saved.

After: Priority associated icon is present, and it's properly registering as an informational message.
image
Before: Priority inappropriately registering as normal rather that informational, and lacking the priority associated icon in absence of the image being saved to disk.
image

Changes to be committed:
	modified:   hyprshot

Addressed the following issues:

* Allow the user to leverage their system settings for the timeout in
  `notify-send`. Previously, the timeout was hardcoded to 5000 ms, which
  is quite long for an information message.

* Fix the icon for the notifications. The information icon was not
  displayed when a screenshot was taken since the priority of the
  message was not given as an argument to `notify-send`. By adding the
  'dialog-information' priority, the icon is displayed conditionally
  when the screenshot is taken and not saved to a file. When saved
  to a file, the screenshot is used as the icon.

* Improved readability of the notifications title and body text. The
  name of the tool, Hyprshot, is now displayed in the title, and the
  body includes clarifying text indicating the screenshot was taken
  rather than the more generic verbiage about an image being saved.
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.

1 participant