# install.sh · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/blob/refs%2Fheads%2Fcodex%2Ffix-qml-layout-warnings/install.sh)

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

Visibility: public

Requested revision: refs/heads/codex/fix-qml-layout-warnings

Commit: aa5ea41a570e7d8ada9cd3b1b52cdbea07cf6b52

Blob: 8487bd839368a78a72f729b0f3ea5eedd1e7bb61

Size: 337 bytes

[Immutable source](https://git.cafe/lucenx/codexbar-plasma/blob/aa5ea41a570e7d8ada9cd3b1b52cdbea07cf6b52/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

```
