Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
22.22k stars 846 forks source link

Not an issue, more of a request #686

Open Tayergo opened 2 years ago

Tayergo commented 2 years ago

Is it possible to add a default theme that is analogous to the commodore64? It'd be a nice update, although definitely not of importance.

ghost commented 2 years ago

Hi @XeonBionic

I attempted to make a C64 like theme.

Maybe you or someone will find this cute :)


image

Steps: 1- Import custom theme .json (or manually set font and colors)

{
  "backgroundColor": "#202f93",
  "fontColor": "#5867cd",
  "flickering": 0,
  "horizontalSync": 0,
  "staticNoise": 0,
  "chromaColor": 0.7646,
  "saturationColor": 0.6527,
  "screenCurvature": 0,
  "glowingLine": 0,
  "burnIn": 0.1036,
  "bloom": 0,
  "rasterization": 0,
  "jitter": 0,
  "rbgShift": 0,
  "brightness": 0.6039,
  "contrast": 0.7334,
  "ambientLight": 0,
  "windowOpacity": 1,
  "fontName": "COMMODORE_64_SCALED",
  "fontWidth": 1.15,
  "margin": 1,
  "blinkingCursor": true,
  "frameMargin": 1,
  "name": "my-c64",
  "version": 2
}

2- For a little extra touch, go settings and paste below code for "Use custom command instead of shell at startup"

bash -c '
columns="$(tput cols)";
title="**** COMMODORE 64 BASIC V2 ****";
echo;
printf "%*s\\n" $(( (${#title} + columns) / 2)) "$title";
subtitle="64K RAM SYSTEM   38911 BASIC BYTES FREE";
echo;
printf "%*s\\n" $(( (${#subtitle} + columns) / 2)) "$subtitle";
echo;
bash;
'

This will center title and subtitle of your choosing.


Thanks to these people:

https://superuser.com/a/829870 https://stackoverflow.com/a/18756584 https://stackoverflow.com/a/56408349 https://www.youtube.com/watch?v=G7ck0Jot7bU