-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from alex1701c/master
Add installation commands for build dependencies (huge contribution provided by alex1701c)
- Loading branch information
Showing
15 changed files
with
1,133 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
build | ||
__pycache__ | ||
.idea | ||
cmake-build-debug | ||
python/build | ||
python/dist | ||
python/KRunner_Bridge.egg-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# Just send the data as a notification | ||
notify-send $1 | ||
|
||
# Display some hello world text inside of KRunner | ||
echo '{"result":[{"text":"Hello World", "iconName":"planetkde"}]}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
|
||
import krunner_bridge | ||
from math import * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
|
||
import os | ||
import sys | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Exit immediately if something fails | ||
set -e | ||
|
||
cd python | ||
python3 setup.py install --user | ||
cd .. | ||
|
||
if [[ ! -d build ]]; then | ||
mkdir build | ||
fi | ||
|
||
cd build | ||
cmake -DCMAKE_BUILD_TYPE=Release .. | ||
make -j $(nproc) | ||
make install | ||
|
||
cd .. | ||
install ./example_search.py $HOME/.local/share/kservices5 | ||
install ./example_calc.py $HOME/.local/share/kservices5 | ||
install ./debug_helper.sh $HOME/.local/share/kservices5 | ||
|
||
kquitapp5 krunner 2> /dev/null | ||
kstart5 --windowclass krunner krunner > /dev/null 2>&1 & |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.