Skip to content

Commit

Permalink
Include icon in project
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1701c committed Jul 11, 2019
1 parent 8b1e452 commit cded251
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ cd build
cmake -DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins` ..
make
sudo make install
sudo curl https://raw.githubusercontent.com/vscode-icons/vscode-icons/master/icons/file_type_vscode.svg -o /usr/share/icons/code.svg
```

Restart krunner to load the runner (in a terminal type: kquitapp5 krunner;kstart5 krunner )
Expand All @@ -34,7 +33,8 @@ After this you should see your runner in the system settings:

systemsettings5 (Head to "Search")

You can also launch KRunner via Alt-F2 and you will find your runner.
You can also launch KRunner via Alt-F2 and you will find your runner.
Credit for icon: https://github.com/microsoft/vscode

## Screenshots

Expand Down
1 change: 0 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ cd build
cmake -DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins` ..
make -j2
sudo make install
sudo curl https://raw.githubusercontent.com/vscode-icons/vscode-icons/master/icons/file_type_vscode.svg -o /usr/share/icons/code.svg
kquitapp5 krunner 2> /dev/null
kstart5 --windowclass krunner krunner > /dev/null 2>&1 &

Expand Down
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ add_dependencies(krunner_vscodeprojectsrunner kcm_krunner_vscodeprojectsrunner)

install(TARGETS krunner_vscodeprojectsrunner kcm_krunner_vscodeprojectsrunner DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-runner-vscodeprojectsrunner.desktop config/plasma-runner-vscodeprojectsrunner_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
# Credit for icon: https://github.com/microsoft/vscode
install(FILES code.svg DESTINATION /usr/share/icons)
1 change: 1 addition & 0 deletions src/code.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cded251

Please sign in to comment.