Fix showing exception. Improve README a little bit.
This commit is contained in:
parent
1d936552ce
commit
54a85ff9d4
@ -2,7 +2,7 @@ A search provider for GNOME Shell that adds support for searching passwords in z
|
|||||||
|
|
||||||
Names of passwords will show up in GNOME Shell searches, choosing one will copy the corresponding content to the clipboard.
|
Names of passwords will show up in GNOME Shell searches, choosing one will copy the corresponding content to the clipboard.
|
||||||
|
|
||||||
Supports OTP, fields (pass only) and can use GPaste (pass or rbw).
|
Can use the [GPaste](https://github.com/Keruspe/GPaste) clipboard manager, supports OTP and fields (pass only, requires GPaste).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -33,7 +33,8 @@ Ensure that python>=3.7 as well as the dbus, gobject and fuzzywuzzy Python modul
|
|||||||
|
|
||||||
Clone this repository and run the installation script as root:
|
Clone this repository and run the installation script as root:
|
||||||
```
|
```
|
||||||
git clone git@github.com:jle64/gnome-shell-pass-search-provider.git
|
git clone https://github.com/jle64/gnome-pass-search-provider.git
|
||||||
|
cd gnome-pass-search-provider
|
||||||
sudo ./install.sh
|
sudo ./install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -208,7 +208,7 @@ class SearchPassService(dbus.service.Object):
|
|||||||
else:
|
else:
|
||||||
self.notify("Copied password to clipboard:", body=f"<b>{name}</b>")
|
self.notify("Copied password to clipboard:", body=f"<b>{name}</b>")
|
||||||
except (subprocess.CalledProcessError, FileNotFoundError, RuntimeError) as e:
|
except (subprocess.CalledProcessError, FileNotFoundError, RuntimeError) as e:
|
||||||
self.notify("Failed to copy password or field!", body=e.output, error=True)
|
self.notify("Failed to copy password or field!", body=str(e), error=True)
|
||||||
|
|
||||||
def notify(self, message, body="", error=False):
|
def notify(self, message, body="", error=False):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user