Profiles.c reads ~/.dt/dtterm.profiles (else the config/ one), plain C with its test (make check: PASS test_profiles). A view with a profile is named profile_<name>; its colours are resources of that name, its font an Xft render table that TermView now passes on to the terminal, its command DtNsubprocessArgv unless -e gave one. Ctrl+Shift+T keeps the profile of the tab; the Window menu gets New Tab and New Tab with Profile through a hook in TermViewMenu.c; dtterm -profile NAME, and "Default" to start with. Tested on Xvfb with dtwm: -profile, a tab by key, a tab by the menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
886 B
Plaintext
32 lines
886 B
Plaintext
# dtterm.profiles -- the terminal profiles of MCDE's dtterm
|
|
#
|
|
# A copy in ~/.dt/dtterm.profiles takes the place of this file. A new tab
|
|
# can be opened with a profile (Window > New Tab with Profile), and
|
|
# `dtterm -profile NAME' starts with one; the profile called "Default" is the
|
|
# one dtterm starts with otherwise. A tab opened with Ctrl+Shift+T has the
|
|
# profile of the tab it was opened from.
|
|
#
|
|
# profile NAME starts a profile; the keys below belong to it
|
|
# font FAMILY [SIZE] a fontconfig family and its size in points
|
|
# foreground COLOUR an X colour: a name or #rrggbb
|
|
# background COLOUR
|
|
# command LINE run by /bin/sh instead of the login shell
|
|
|
|
profile Default
|
|
|
|
profile Dark
|
|
foreground #d8d8d8
|
|
background #1c1c1c
|
|
|
|
profile Paper
|
|
foreground #202020
|
|
background #f4f0e6
|
|
|
|
profile Large
|
|
font Hack 14
|
|
|
|
profile Root shell
|
|
foreground #ffd8d8
|
|
background #3a1010
|
|
command su -
|