Skip to content

Instantly share code, notes, and snippets.

View ken-morel's full-sized avatar
🚃
working on alat

Engon Ken Morel ken-morel

🚃
working on alat
View GitHub Profile
@ken-morel
ken-morel / tmux-notify
Last active March 8, 2026 08:38
vibe-coded drop-in replacement for notify-send using tmux popup windows, with actions/inline-replies
#!/usr/bin/env fish
# --- Internal Popup UI Logic ---
if set -q argv[1]; and test "$argv[1]" = --internal-popup
set -l tmp_file $argv[2]
set -l timeout $argv[3]
set -l summary $argv[4]
set -l body $argv[5]
set -l reply_prompt $argv[6]
set -l actions $argv[7..-1] # Flat list: key1, label1, key2, label2...