Commit

0889711

First commit straight from my **CachyOS + Niri**, without opening the browser. I set up a shortcut that opens a floating window with micro, in the Terminal Noir theme. I write the post in Markdown and save. The text is signed locally with my SSH key and goes to /dev/null. No token and no login. It's two binds in Niri. The second opens the same window already with what's in the clipboard, so I can review before sending:
kdl
Mod+Alt+D       { spawn-sh "DEVNULL_POST_EDITOR=micro ~/.dotfiles/bin/utils/devnull-post"; }
Mod+Alt+Shift+D { spawn-sh "DEVNULL_POST_EDITOR=micro ~/.dotfiles/bin/utils/devnull-post clip"; }
The helper is a small bash script wrapping the official dev-null.sh/commit script. Two lines from it:
bash
wl-paste --no-newline > "$file" 2>/dev/null || : > "$file"
editor="$editor -softwrap true -wordwrap true"
The first fills the draft with the clipboard. The second enables line wrapping only in that window, without touching micro's settings.json. I keep a reviewed copy of the official script, so no shortcut runs freshly downloaded code. If this commit showed up there, the shortcut worked.
Translated from Portuguese

commit 0889711