# install.sh · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/blob/refs%2Fheads%2Fcodex%2Flast-good-usage/install.sh)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: refs/heads/codex/last-good-usage

Commit: 22875f34d63cc96e26b5c8a62872e70dc33a8184

Blob: 8487bd839368a78a72f729b0f3ea5eedd1e7bb61

Size: 337 bytes

[Immutable source](https://git.cafe/lucenx/codexbar-plasma/blob/22875f34d63cc96e26b5c8a62872e70dc33a8184/install.sh?format=markdown)

```
#!/usr/bin/env bash
set -euo pipefail

ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PACKAGE_PATH="${ROOT_DIR}/dist/codexbar-plasma.plasmoid"

make -C "$ROOT_DIR" package
kpackagetool6 -t Plasma/Applet -u "$PACKAGE_PATH" || kpackagetool6 -t Plasma/Applet -i "$PACKAGE_PATH"
systemctl --user restart plasma-plasmashell.service

```
