Hyprnote
Hello World!

Hooks

Overview

Hooks let you observe and react to the Hyprnote's lifecycle using custom scripts.

Config

vi "$HOME/Library/Application Support/hyprnote/hooks.json"
{
  "version": 1,
  "hooks": {
    "afterListeningStopped": [{ "command": "./hooks/demo.sh" }]
  }
}
vi "$HOME/Library/Application Support/hyprnote/hooks/demo.sh"
chmod +x "$HOME/Library/Application Support/hyprnote/hooks/demo.sh"
#!/bin/bash
cat > /dev/null
exit 0

Available Hooks

afterListeningStopped

123

Arguments

session_id : string

345

beforeListeningStarted

123

Arguments

session_id : string

345