gnome-shell-extension-clipboard-indicator icon indicating copy to clipboard operation
gnome-shell-extension-clipboard-indicator copied to clipboard

Add keyboard shortcut to toggle private mode

Open davekch opened this issue 4 years ago • 4 comments
trafficstars

This pull request addresses #176. I added two things:

  • a keyboard shortcut to toggle private mode
  • add private-mode to the schema so that it's editable from a script

This is useful when you're copying passwords from a password manager but don't want them to show up in the clipboard-manager. You can now either

  • use the shortcut to enable private mode before copying
  • if you copy from the terminal, you can now enable private mode by typing gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas/ set org.gnome.shell.extensions.clipboard-indicator private-mode true (only really useful in a script or as an alias tbh)

Since I don't have gnome shell 40 for testing, I made the changes on top of v34.

fixes #176, fixes #186

davekch avatar May 17 '21 20:05 davekch

Just tested it out and can confirm that everything works

SUPERCILEX avatar Jan 12 '22 21:01 SUPERCILEX

can I do anything more to get this merged?

davekch avatar Jan 23 '22 11:01 davekch

@davekch I don't have merge rights unfortunately, but I'm working with the maintainer to figure something out.

SUPERCILEX avatar Jan 30 '22 00:01 SUPERCILEX

@davekch See https://github.com/SUPERCILEX/gnome-shell-extension-clipboard-indicator/issues/1. I'm going to end up releasing my own version of the extension (which already has your PR merged). You can follow that issue to get an update on when it's in the store or install it from source.

SUPERCILEX avatar Feb 19 '22 01:02 SUPERCILEX