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>
18 lines
496 B
Makefile
18 lines
496 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
# dtlaunch, MCDE's launcher (dtlaunch.c); model.c is the part without X and
|
|
# has its own tests (make check).
|
|
bin_PROGRAMS = dtlaunch
|
|
|
|
dtlaunch_SOURCES = dtlaunch.c model.c model.h
|
|
dtlaunch_LDADD = $(XTOOLLIB) -lm
|
|
|
|
check_PROGRAMS = test_model
|
|
test_model_SOURCES = test_model.c model.c model.h
|
|
test_model_LDADD = -lm
|
|
TESTS = test_model
|
|
|
|
# an example for ~/.dt/snippets
|
|
exampledir = $(CDE_INSTALLATION_TOP)/examples/dtlaunch
|
|
dist_example_DATA = snippets.example
|