Skip to content

About

Sticky Notes for Omarchy

Topics

Resources

Stars

12 stars

Watchers

0 watching

Forks

Repository files navigation

StickyBoard

StickyBoard is a lightweight sticky notes system designed specifically for Omarchy. It transforms a Hyprland workspace (6 by default) into a persistent corkboard of floating sticky notes.

StickyBoard is built using GTK4, SQLite, Tokio, and native Hyprland IPC.

Omarchy Quick Install

Install all binaries, default fonts, systemd user services, Hyprland Lua rules, and the Omarchy bar plugin in a single command:

curl -sL https://raw.githubusercontent.com/mirarr-app/StickyBoard/main/install.sh | bash

Features

  • Instant Note Capture: Press SUPER+SHIFT+K to open a centered input popup, type your note, and hit Enter to spawn it instantly.
  • Dedicated Corkboard: Automatically routes and manages all note windows on workspace 6 by default.
  • Geometry Recovery: Changes to note positions and sizes are autosaved and survive system reboots or Hyprland/daemon restarts. Notes are read-only and static once created to keep workspace clean.
  • Omarchy System Theme Integration: Note colors are loaded dynamically from your active Omarchy system theme (~/.local/state/omarchy/current/theme/colors.toml, falling back to ~/.config/omarchy/current/theme/colors.toml) and hot-reload instantly when the theme is changed.
stickyboard.mp4

System Architecture

StickyBoard runs as four coordinated binaries:

  1. stickyboard: The unified CLI wrapper.
  2. stickyboard-daemon: Background supervisor process that manages database records and spawns note windows.
  3. stickyboard-capture: Quick-entry text popup window.
  4. stickyboard-note: Individual floating note window process (one process per note for process isolation).

System Requirements

Ensure the following packages are installed on your Arch system:

sudo pacman -S rust gtk4 sqlite

StickyBoard targets Hyprland 0.55+ (Lua config). Window rules, keybinds, and IPC dispatchers use the Lua API (hl.window_rule, hl.dsp.window.move / resize).


Build Instructions

To build all StickyBoard binaries:

cargo build --release

This produces the following binaries in target/release/:

  • stickyboard
  • stickyboard-daemon
  • stickyboard-capture
  • stickyboard-note

Installation & Setup

1. Install Binaries

Option A: Build from Source

Run the build-from-source installation script to compile, install binaries, fonts, window rules, keybindings, and start the service:

./build-from-source.sh

Or compile manually:

cargo build --release
mkdir -p ~/.local/bin
cp target/release/stickyboard target/release/stickyboard-daemon target/release/stickyboard-capture target/release/stickyboard-note ~/.local/bin/

Alternatively, customize the provided PKGBUILD.example to build and install StickyBoard as an Arch package.

Option B: Download Prebuilt Binaries (One-Liner Install)

You can download the latest prebuilt release, install all binaries, configurations, systemd services, fonts, and registers hotkeys automatically:

curl -sL https://raw.githubusercontent.com/mirarr-app/StickyBoard/main/install.sh | bash

Alternatively, to install manually:

  1. Download the release archive stickyboard-linux-x86_64.tar.gz from the GitHub Releases Page.
  2. Extract the archive and copy components:
    tar -xzvf stickyboard-linux-x86_64.tar.gz
    mkdir -p ~/.local/bin
    cp stickyboard stickyboard-daemon stickyboard-capture stickyboard-note ~/.local/bin/
    
    # Install the bundled default font
    mkdir -p ~/.local/share/fonts
    cp Excalifont-Regular.ttf ~/.local/share/fonts/
    fc-cache -f ~/.local/share/fonts/

2. Configure Systemd User Service

Install and enable the Systemd user service so the daemon starts automatically with your session:

mkdir -p ~/.config/systemd/user/
cp stickyboard.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now stickyboard.service

3. Add Hyprland Configurations

Hyprland 0.55+ uses Lua (~/.config/hypr/hyprland.lua). The install scripts copy hyprland.lua.example to ~/.config/hypr/stickyboard.lua and load it from hyprland.lua.

To configure it manually:

  1. Copy hyprland.lua.example to ~/.config/hypr/stickyboard.lua (routes notes to workspace 6, floats them, and configures the capture popup plus SUPER+SHIFT+K).
  2. Load it from ~/.config/hypr/hyprland.lua:
    require("hypr.stickyboard")  -- Omarchy
    -- require("stickyboard")    -- vanilla Hyprland

Run hyprctl reload, then hyprctl configerrors to confirm the config loaded cleanly.

4. Omarchy Shell Plugin

The installer also drops a Quickshell bar widget at ~/.config/omarchy/plugins/stickyboard.notes/ and enables it on the right side of the bar. Click the note icon to compose a sticky; Enter saves it through the StickyBoard daemon. The popup uses Omarchy Color / Style tokens, so it follows the active theme.


Command Line Interface (CLI)

The stickyboard binary controls all operations:

  • Launch background daemon: stickyboard daemon
  • Launch capture window: stickyboard capture
  • Show/Restore all note windows: stickyboard show
  • Hide all note windows: stickyboard hide
  • Reload notes: stickyboard reload
  • Add a new note:
    • Arguments: stickyboard new --text "My text"
    • Stdin stream: echo "Clean my room" | stickyboard new
  • List notes: stickyboard list
  • Export notes: stickyboard export notes.json
  • Import notes: stickyboard import notes.json

File & Socket Paths

  • Database: ~/.local/share/stickyboard/notes.db
  • IPC Unix Domain Socket: /run/user/<uid>/stickyboard.sock (session-bound)
  • Local Logs: Systemd journal logs (view using journalctl --user -u stickyboard.service)

Uninstallation

To uninstall StickyBoard:

./uninstall.sh

To also purge the notes database and app data directory:

./uninstall.sh --purge

Credits

  • Excalifont: The default handwriting style font of the application. Designed and provided by the Excalidraw team.

About

Sticky Notes for Omarchy

Topics

Resources

Stars

12 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages