From fd47aab38d85b85fb9303e0c6654a2e623ec9210 Mon Sep 17 00:00:00 2001 From: stewart86 Date: Wed, 31 Dec 2025 14:12:37 +0800 Subject: [PATCH] Update to 0.11.1-2: add Niri to description --- .SRCINFO | 13 ++++++++----- PKGBUILD | 4 ++-- hamr.install | 7 +++++++ 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 0b244ceed270..33a88c8e626a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,9 @@ pkgbase = hamr - pkgdesc = Extensible launcher for Hyprland built with Quickshell + pkgdesc = Extensible launcher for Hyprland and Niri built with Quickshell pkgver = 0.11.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Stewart86/hamr + install = hamr.install arch = any license = GPL-3.0-or-later depends = quickshell @@ -20,21 +21,23 @@ pkgbase = hamr depends = xdg-utils depends = libnotify depends = gtk3 - depends = hyprland depends = libpulse depends = jq depends = libqalculate depends = ttf-material-symbols-variable depends = ttf-jetbrains-mono-nerd + optdepends = hyprland: Hyprland compositor support + optdepends = niri: Niri compositor support optdepends = ttf-readex-pro: Reading font for cards (AUR) + optdepends = matugen: Material You color generation from wallpapers optdepends = tesseract: OCR text extraction for screenshot search optdepends = tesseract-data-eng: English OCR language data optdepends = imagemagick: Alternative thumbnail generation optdepends = bitwarden-cli: Bitwarden password manager integration + optdepends = python-keyring: Secure session storage for Bitwarden plugin optdepends = slurp: Screen region selection for screenshots optdepends = wf-recorder: Screen recording - install = hamr.install - source = git+https://github.com/Stewart86/hamr.git + source = hamr-0.11.1::git+https://github.com/Stewart86/hamr.git#tag=v0.11.1 sha256sums = SKIP pkgname = hamr diff --git a/PKGBUILD b/PKGBUILD index 31ef5b0b4c1a..19f7642f27c4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Stewart Wong pkgname=hamr pkgver=0.11.1 -pkgrel=1 -pkgdesc='Extensible launcher for Wayland compositors built with Quickshell' +pkgrel=2 +pkgdesc='Extensible launcher for Hyprland and Niri built with Quickshell' arch=('any') url='https://github.com/Stewart86/hamr' license=('GPL-3.0-or-later') diff --git a/hamr.install b/hamr.install index fa751c370cc8..b316b59ee645 100644 --- a/hamr.install +++ b/hamr.install @@ -35,6 +35,10 @@ post_install() { echo " # Add to ~/.config/niri/config.kdl binds section:" echo " Ctrl+Space { spawn \"qs\" \"ipc\" \"call\" \"hamr\" \"toggle\"; }" echo "" + echo "==> Troubleshooting:" + echo " View logs: journalctl --user -u hamr -f" + echo " Qt mismatch crash? Rebuild: paru -S quickshell --rebuild" + echo "" } post_upgrade() { @@ -65,6 +69,9 @@ post_upgrade() { echo "==> Hamr has been upgraded." echo "==> Restart quickshell to apply changes." echo "" + echo "==> If hamr crashes after a Qt update, rebuild quickshell:" + echo " paru -S quickshell --rebuild" + echo "" } post_remove() {