programs/dtlaunch: Alt+space (Dtlaunch*hotkey) opens a field and a list; matches programs in $PATH, ~/.dt/snippets (keyword TAB text), the clipboard history (polled CLIPBOARD, 50 entries, memory only) and calculations (=12*(3+4)). Return starts the program or puts the text on CLIPBOARD and PRIMARY. One per display (_MCDE_DTLAUNCH); a second start opens the first. C99/POSIX + Xt/Motif, no warnings with -Wpedantic. model.c (no X) with test_model.c: make check PASS. Started in every session by config/Xsession.d/0080.dtlaunch. Tested on Xvfb: snippet and result reach the clipboard (build/mcde-shots/dtlaunch-*.png). tools/mcde-linux.sh: check mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
312 B
Plaintext
9 lines
312 B
Plaintext
# ~/.dt/snippets -- text snippets for dtlaunch (MCDE)
|
|
#
|
|
# One snippet a line: the keyword, a TAB, the text. In the text \n is a
|
|
# newline, \t a tab, \\ a backslash. Type the keyword in the launcher and
|
|
# press Return: the text is on the clipboard, ready to paste.
|
|
#
|
|
sig -- \nsent from Makronix
|
|
date YYYY-MM-DD
|