concfg is a utility to import and export Windows console settings like fonts and colors.
If you have Scoop, you can install concfg with
scoop install concfg.
- Console settings can be overridden by program- or shortcut-specific settings stored in the registry or in the .lnk file itself. Concfg can attempt to clean these up for you by removing registry settings that might conflict and removing console properties from .lnk files in known directories.
concfg importwill prompt you to clean these up after an import, or you can run
concfg cleanat any time.
- PowerShell's syntax highlighting isn't compatible with Base16's conventions by default. To set syntax highlighting to colors consistent with Base16's conventions,
concfg tokencolorsub-command to modify the syntax highlighting colors.
Use the Solarized dark color presets:
concfg import solarized-dark
Revert to the stock-standard console settings:
concfg import windows-console-defaults
Importing settings from a URL
concfg import https://raw.github.com/lukesampson/concfg/master/presets/solarized-light.json
This URL happens to be one of the built in presets--it's just an example of importing a URL. The easy way to get Solarized light would be
concfg import solarized-light
Making your own settings to save or share
concfg export <path>
Although, if you're making a color theme from scratch, you might find it easier to base it on presets/default.json
concfg without parameters to see the usage info.
Concfg uses Ethan Schoonover's Solarized color theme.
Code for removing console properties from shortcuts is based on code from the Coapp Toolkit project.