SUPERCILEX / gnome-clipboard-history

Gnome Clipboard History is a clipboard manager Gnome extension that saves what you've copied into an easily accessible, searchable history panel.
https://extensions.gnome.org/extension/4839/clipboard-history/
MIT License
471 stars 46 forks source link

Disable notifications for "Do Not Disturb" and "Private" modes #140

Closed xalt7x closed 1 year ago

xalt7x commented 1 year ago

Add additional checks for displaying notifications. Don't show them with activated "Do Not Disturb" and/or "Private" modes. "Do Not Disturb" is a GNOME setting, "Private mode" - extensions setting.

Closes #134

SUPERCILEX commented 1 year ago

You'll need to run npx prettier . --write. I'm on my phone, do can't right now. Though I'll be able to in a few days if you can't. In the meantime, can you check that my changes still work?

xalt7x commented 1 year ago

You'll need to run npx prettier . --write. I'm on my phone, do can't right now. Though I'll be able to in a few days if you can't. In the meantime, can you check that my changes still work?

Thanks for your improvements and quick reply! Yes, it still works. That "Prettier" command changed way too much (e.g. replaced double-quotes with single-quotes throughout the file) so I've picked only relevant part for this pull request.

SUPERCILEX commented 1 year ago

Thanks!