Skip to content

Commit

Permalink
kvmd-oled == 0.27
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Mar 30, 2024
1 parent 9da3b1d commit 0ec5fb8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions packages/kvmd-oled/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=kvmd-oled
pkgver=0.26
pkgver=0.27
pkgrel=1
pkgdesc="PiKVM - A small OLED daemon"
url="https://github.com/pikvm/packages"
Expand All @@ -11,7 +11,6 @@ depends=(
python-psutil
python-pyusb
python-pillow
ttf-proggy-clean
)
source=(
$pkgname.service
Expand All @@ -20,8 +19,9 @@ source=(
$pkgname.py
hello.ppm
pikvm.ppm
ProggySquare.ttf
)
md5sums=(SKIP SKIP SKIP SKIP SKIP SKIP)
md5sums=(SKIP SKIP SKIP SKIP SKIP SKIP SKIP)


package() {
Expand All @@ -33,4 +33,5 @@ package() {

mkdir -p "$pkgdir/usr/share/kvmd-oled"
cp *.ppm "$pkgdir/usr/share/kvmd-oled"
cp *.ttf "$pkgdir/usr/share/kvmd-oled"
}
Binary file added packages/kvmd-oled/ProggySquare.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/kvmd-oled/kvmd-oled.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def main() -> None:
parser = luma_cmdline.create_parser(description="Display FQDN and IP on the OLED")
parser.set_defaults(**_detect_geometry())

parser.add_argument("--font", default="/usr/share/fonts/TTF/ProggySquare.ttf", help="Font path")
parser.add_argument("--font", default="/usr/share/kvmd-oled/ProggySquare.ttf", help="Font path")
parser.add_argument("--font-size", default=16, type=int, help="Font size")
parser.add_argument("--font-spacing", default=2, type=int, help="Font line spacing")
parser.add_argument("--offset-x", default=0, type=int, help="Horizontal offset")
Expand Down

0 comments on commit 0ec5fb8

Please sign in to comment.