Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pkgbuilds/omarchy-centered-workspace-toggle/.omarchy/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"source": "local",
"upstream": {
"git_tags": "https://github.com/pablohc/omarchy-centered-workspace-toggle.git",
"tag_pattern": "v{pkgver}",
"sources": {
"any": ["https://github.com/pablohc/omarchy-centered-workspace-toggle/archive/refs/tags/v{pkgver}.tar.gz"]
}
}
}
28 changes: 28 additions & 0 deletions pkgbuilds/omarchy-centered-workspace-toggle/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Maintainer: pablohc <pablonoviello@outlook.com>
pkgname=omarchy-centered-workspace-toggle
pkgver=1.0.0
pkgrel=1
pkgdesc="Per-workspace centered master layout toggle for Omarchy (Hyprland)"
arch=('any')
url="https://github.com/pablohc/omarchy-centered-workspace-toggle"
license=('MIT')
depends=('bash' 'jq' 'hyprland')
optdepends=('libnotify: fallback notifications when the Omarchy notifier is unavailable')
options=('!debug')
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/pablohc/omarchy-centered-workspace-toggle/archive/refs/tags/v$pkgver.tar.gz"
)
sha256sums=(
'418181513b5bb6e052c3884ab39293eb31b54c450b488376863bf2ee8088bb19'
)

package() {
cd "$srcdir/$pkgname-$pkgver"

install -Dm755 omarchy-centered-workspace-toggle \
"$pkgdir/usr/bin/omarchy-centered-workspace-toggle"
install -Dm644 LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md \
"$pkgdir/usr/share/doc/$pkgname/README.md"
}