Update knsrc to use kpackagetool5 commands

kwinswitcher.knsrc, kwinscripts.knsrc, kwineffect.knsrc

It seems the kwineffect.desktop was (and still is) invalid, as it
does not show up in `kpackagetool5 --list-types`.

To test, I overwrite the /etc/xdg/*.knsrc,
then opened the GHNS dialogs and installed stuff.

Differential Revision: https://phabricator.kde.org/D12249
icc-effect-5.14.5
Chris Holland 2018-05-13 19:07:49 -04:00
parent c0226fe744
commit 184b490c78
3 changed files with 6 additions and 6 deletions

View File

@ -41,5 +41,5 @@ Name[zh_TW]=視窗管理員效果
ProvidersUrl=https://download.kde.org/ocs/providers.xml
Categories=KWin Effects
StandardResource=tmp
InstallationCommand=plasmapkg2 -t kwineffect -i %f
UninstallCommand=plasmapkg2 -t kwineffect -r %f
InstallationCommand=kpackagetool5 --type KWin/Effect --install %f
UninstallCommand=kpackagetool5 --type KWin/Effect --remove %f

View File

@ -40,5 +40,5 @@ Name[zh_TW]=視窗管理員指令稿
ProvidersUrl=https://download.kde.org/ocs/providers.xml
Categories=KWin Scripts
StandardResource=tmp
InstallationCommand=plasmapkg2 -t kwinscript -i %f
UninstallCommand=plasmapkg2 -t kwinscript -r %f
InstallationCommand=kpackagetool5 --type KWin/Script --install %f
UninstallCommand=kpackagetool5 --type KWin/Script --remove %f

View File

@ -41,5 +41,5 @@ Name[zh_TW]=視窗切換器佈局
ProvidersUrl=https://download.kde.org/ocs/providers.xml
Categories=KWin Switching Layouts
StandardResource=tmp
InstallationCommand=plasmapkg2 -t windowswitcher -i %f
UninstallCommand=plasmapkg2 -t windowswitcher -r %f
InstallationCommand=kpackagetool5 --type KWin/WindowSwitcher --install %f
UninstallCommand=kpackagetool5 --type KWin/WindowSwitcher --remove %f