Add PS1 style data to context
- Expand .context.json with style presets and emoji rotation - Add contest-styles.json for render tooling
This commit is contained in:
113
.context.json
113
.context.json
@@ -46,9 +46,11 @@
|
||||
"sources_from": "/etc/bash.bashrc",
|
||||
"prompts": [
|
||||
"PS1 only / Banner only / Both",
|
||||
"Season mode: Dynamic or Static (if PS1 selected)"
|
||||
"Season mode: Dynamic or Static (if PS1 selected)",
|
||||
"Style preset selection (if PS1 selected)"
|
||||
],
|
||||
"season_config_file": "/etc/ps1-season",
|
||||
"style_config_file": "/etc/ps1-style",
|
||||
"banner_punchline_file": "/etc/ps1-punchline"
|
||||
},
|
||||
"macos": {
|
||||
@@ -62,9 +64,11 @@
|
||||
"~/.bash_profile"
|
||||
],
|
||||
"prompts": [
|
||||
"Season mode: Dynamic or Static"
|
||||
"Season mode: Dynamic or Static",
|
||||
"Style preset selection"
|
||||
],
|
||||
"season_config_file": "~/.config/ps1/season"
|
||||
"season_config_file": "~/.config/ps1/season",
|
||||
"style_config_file": "~/.config/ps1/style"
|
||||
},
|
||||
"global_installer_wrapper": {
|
||||
"script": "dotfiles/install/install-global-ps1.sh",
|
||||
@@ -122,37 +126,124 @@
|
||||
"FRAME": 95
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"default": "aurora",
|
||||
"available": [
|
||||
{
|
||||
"id": "aurora",
|
||||
"name": "Aurora",
|
||||
"description": "Powerline blocks with seasonal palette, two-line calm layout.",
|
||||
"layout": "two-line, segmented blocks",
|
||||
"preview": "[date time user] > [@host /path]"
|
||||
},
|
||||
{
|
||||
"id": "neon",
|
||||
"name": "Neon",
|
||||
"description": "Magenta/cyan cyber blocks, high contrast, two-line.",
|
||||
"layout": "two-line, neon blocks",
|
||||
"preview": "[user time] > [@host /path]"
|
||||
},
|
||||
{
|
||||
"id": "forge",
|
||||
"name": "Forge",
|
||||
"description": "Warm copper blocks, heavy frame, assertive.",
|
||||
"layout": "two-line, bold blocks",
|
||||
"preview": "[date time user] > [@host /path]"
|
||||
},
|
||||
{
|
||||
"id": "circuit",
|
||||
"name": "Circuit",
|
||||
"description": "Green scanline rail, minimal chrome, compact.",
|
||||
"layout": "two-line, rail style",
|
||||
"preview": "[user time] - @host /path"
|
||||
},
|
||||
{
|
||||
"id": "mono",
|
||||
"name": "Mono",
|
||||
"description": "Clean monochrome, fast read, low noise.",
|
||||
"layout": "two-line, minimal",
|
||||
"preview": "[date time user] @host /path"
|
||||
}
|
||||
],
|
||||
"config": {
|
||||
"env": "PS1_STYLE=aurora|neon|forge|circuit|mono",
|
||||
"config_file_keys": [
|
||||
"PS1_STYLE"
|
||||
]
|
||||
}
|
||||
},
|
||||
"emoji_rules": {
|
||||
"fixed_times": {
|
||||
"lunch": "11:00-11:29 => 🥪",
|
||||
"dinner": "16:00-16:59 => 🍲"
|
||||
},
|
||||
"rotation": "Daily rotation by day-of-year with season offsets.",
|
||||
"seasonal_accents": {
|
||||
"spring": {
|
||||
"sunrise": "🌷",
|
||||
"sunrise": [
|
||||
"🌷",
|
||||
"🌱",
|
||||
"🐣",
|
||||
"🌤"
|
||||
],
|
||||
"coffee": "☕",
|
||||
"work": "🌿",
|
||||
"work": [
|
||||
"🌿",
|
||||
"🪴",
|
||||
"🐝",
|
||||
"🌼"
|
||||
],
|
||||
"evening": "🌤",
|
||||
"night": "🌙"
|
||||
},
|
||||
"summer": {
|
||||
"sunrise": "🌞",
|
||||
"sunrise": [
|
||||
"🌞",
|
||||
"🏖️",
|
||||
"🌅",
|
||||
"🌤"
|
||||
],
|
||||
"coffee": "🧃",
|
||||
"work": "🪴",
|
||||
"work": [
|
||||
"🏄",
|
||||
"🏖️",
|
||||
"🚤",
|
||||
"🌴"
|
||||
],
|
||||
"evening": "🌇",
|
||||
"night": "🌙"
|
||||
},
|
||||
"autumn": {
|
||||
"sunrise": "🍁",
|
||||
"sunrise": [
|
||||
"🍁",
|
||||
"🍂",
|
||||
"🌫️",
|
||||
"🌦️"
|
||||
],
|
||||
"coffee": "☕",
|
||||
"work": "🍂",
|
||||
"work": [
|
||||
"🍂",
|
||||
"🍄",
|
||||
"🎃",
|
||||
"🪵"
|
||||
],
|
||||
"evening": "🌆",
|
||||
"night": "🌙"
|
||||
},
|
||||
"winter": {
|
||||
"sunrise": "🌅",
|
||||
"sunrise": [
|
||||
"🏔️",
|
||||
"🌨️",
|
||||
"❄️",
|
||||
"🌌"
|
||||
],
|
||||
"coffee": "☕",
|
||||
"work": "❄️",
|
||||
"work": [
|
||||
"🎿",
|
||||
"⛷️",
|
||||
"🏂",
|
||||
"🧊"
|
||||
],
|
||||
"evening": "🌆",
|
||||
"night": "🌙"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user