Skip to content

Commit a1762f4

Browse files
committed
Add uninstall script
1 parent fc61f15 commit a1762f4

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This plugin allows you to copy/show/add/edit passwords from KWallet.
44

55
This is a fork from https://github.com/jimtendo/kwallet-runner but has extra features added and deprecated code removed.
66

7-
Required Dependencies
7+
Required Dependencies (Qt5)
88
----------------------
99

1010
Debian/Ubuntu:
@@ -22,21 +22,12 @@ Arch (Manjaro):
2222
The easiest way to install is:
2323
`curl https://raw.githubusercontent.com/alex1701c/krunner-kwallet/master/install.sh | bash`
2424

25-
Or you can do it manually (with admin privileges):
26-
```
27-
git clone https://github.com/alex1701c/kwallet-runner
28-
cd kwallet-runner/
29-
mkdir build
30-
cd build
31-
cmake -DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins` -DCMAKE_BUILD_TYPE=Release ..
32-
make
33-
sudo make install
34-
```
25+
You may also
3526

3627
Restart krunner to load the runner (in a terminal type: kquitapp5 krunner;kstart5 krunner )
3728

3829
### Screenshots
39-
You can search for entries. And copy the password (default action),
30+
You can search for entries and copy the password (default action),
4031
show the password in a dialog info button(Shift+Return) or edit it.
4132
To add a new password type kwallet-add
4233
![Overview](https://raw.githubusercontent.com/alex1701c/Screenshots/master/krunner-kwallet/overview.png)

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ then
3030
killall krunner
3131
fi
3232

33-
echo "Installation finished !";
33+
echo "Installation finished!";
3434

uninstall.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
# Exit if something fails
4+
set -e
5+
6+
cd build
7+
sudo make uninstall
8+
9+
# KRunner needs to be restarted for the changes to be applied
10+
if pgrep -x krunner > /dev/null
11+
then
12+
kquitapp5 krunner
13+
fi
14+

0 commit comments

Comments
 (0)