Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

Linux: Arch Linux package (PKGBUILD, desktop entry, README)

FabioLukas123c7db6abfc83c
diff --git a/linux/arch/PKGBUILD b/linux/arch/PKGBUILD
new file mode 100644
index 00000000..05b1daf1
--- /dev/null
+++ b/linux/arch/PKGBUILD
@@ -0,0 +1,69 @@
+# Maintainer: FabioLukas123
+# Coucou for Arch Linux — built from the Tauri app in windows/, which runs on
+# Windows and Linux alike.
+
+pkgname=coucou-git
+_pkgname=coucou
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Mochi lives at the top of your screen and keeps an eye on your Claude Code sessions"
+arch=('x86_64' 'aarch64')
+url="https://github.com/Louis-CFM/coucou"
+license=('MIT')
+depends=(
+ 'webkit2gtk-4.1'
+ 'gtk3'
+ 'gtk-layer-shell'
+ 'libayatana-appindicator'
+ 'gst-plugins-base'
+ 'gst-plugins-good'
+ 'dbus'
+ 'xdg-utils'
+ 'hicolor-icon-theme'
+)
+optdepends=(
+ 'gnome-keyring: store API keys (or any other Secret Service provider)'
+ 'kwallet: store API keys (or any other Secret Service provider)'
+)
+makedepends=('git' 'cargo' 'nodejs' 'npm')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+# makepkg's default LTO and debug flags make the Rust build very slow.
+options=('!lto' '!debug')
+source=("$_pkgname::git+https://github.com/Louis-CFM/coucou.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ local v
+ v=$(sed -n 's/^version = "\(.*\)"/\1/p' windows/Cargo.toml | head -1)
+ printf "%s.r%s.%s" "$v" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$_pkgname/windows"
+ export RUSTUP_TOOLCHAIN=stable
+ cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
+ npm ci
+}
+
+build() {
+ cd "$_pkgname/windows"
+ export RUSTUP_TOOLCHAIN=stable
+ export CARGO_TARGET_DIR="$PWD/target"
+ # beforeBuildCommand builds the front end and the coucou-hook relay.
+ npx tauri build --no-bundle
+}
+
+package() {
+ cd "$_pkgname"
+ install -Dm755 windows/target/release/coucou "$pkgdir/usr/bin/coucou"
+ # Found next to the app, then copied into ~/.local/share/coucou/bin at launch.
+ install -Dm755 windows/target/release/coucou-hook "$pkgdir/usr/bin/coucou-hook"
+ install -Dm644 linux/arch/coucou.desktop "$pkgdir/usr/share/applications/coucou.desktop"
+ install -Dm644 windows/src-tauri/icons/32x32.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/coucou.png"
+ install -Dm644 windows/src-tauri/icons/128x128.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/coucou.png"
+ install -Dm644 windows/src-tauri/icons/[email protected] "$pkgdir/usr/share/icons/hicolor/256x256/apps/coucou.png"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 LICENSE-ASSETS.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE-ASSETS.md"
+}
diff --git a/linux/arch/coucou.desktop b/linux/arch/coucou.desktop
new file mode 100644
index 00000000..c38778d9
--- /dev/null
+++ b/linux/arch/coucou.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Coucou
+Comment=Mochi lives at the top of your screen and keeps an eye on your Claude Code sessions
+Exec=coucou
+Icon=coucou
+Terminal=false
+Categories=Development;Utility;
+StartupNotify=false
diff --git a/windows/README.md b/windows/README.md
index 2b897bd3..0a2b8a63 100644
--- a/windows/README.md
+++ b/windows/README.md
@@ -179,6 +179,17 @@ npm run tauri dev # live-reloading development build
npm run pack # AppImage, .deb and .rpm in windows/release/
```
+On Arch Linux, build and install the package from `linux/arch/`:
+
+```bash
+git clone https://github.com/Louis-CFM/coucou.git
+cd coucou/linux/arch
+makepkg -si
+```
+
+It needs `webkit2gtk-4.1`, `gtk-layer-shell` and `libayatana-appindicator`
+(pulled in as dependencies); store API keys with GNOME Keyring or KWallet.
+
What changes on Linux:
- **The island** is a gtk-layer-shell overlay anchored to the top edge, over any