Add Hawolex holiday theme
- Add Hawolex palette and emoji set - Add Hawolex option to holiday prompts
This commit is contained in:
@@ -164,7 +164,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"config": {
|
"config": {
|
||||||
"env": "PS1_STYLE=aurora|neon|forge|circuit|mono; PS1_STYLE_PACK=standard|contest|holiday; PS1_CONTEST_LAYOUT=day-time-user|user-time|time-user|day-time; PS1_HOLIDAY=christmas|easter|halloween|valentine|thanksgiving|newyear",
|
"env": "PS1_STYLE=aurora|neon|forge|circuit|mono; PS1_STYLE_PACK=standard|contest|holiday; PS1_CONTEST_LAYOUT=day-time-user|user-time|time-user|day-time; PS1_HOLIDAY=christmas|easter|halloween|valentine|thanksgiving|newyear|hawolex",
|
||||||
"config_file_keys": [
|
"config_file_keys": [
|
||||||
"PS1_STYLE",
|
"PS1_STYLE",
|
||||||
"PS1_STYLE_PACK",
|
"PS1_STYLE_PACK",
|
||||||
@@ -368,6 +368,23 @@
|
|||||||
"coffee": "☕",
|
"coffee": "☕",
|
||||||
"evening": "🌆",
|
"evening": "🌆",
|
||||||
"night": "🌙"
|
"night": "🌙"
|
||||||
|
},
|
||||||
|
"hawolex": {
|
||||||
|
"sunrise": [
|
||||||
|
"💻",
|
||||||
|
"🚗",
|
||||||
|
"🔊",
|
||||||
|
"🎮"
|
||||||
|
],
|
||||||
|
"work": [
|
||||||
|
"🎧",
|
||||||
|
"🕹️",
|
||||||
|
"📟",
|
||||||
|
"🧩"
|
||||||
|
],
|
||||||
|
"coffee": "☕",
|
||||||
|
"evening": "🌆",
|
||||||
|
"night": "🌙"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"time_slots": {
|
"time_slots": {
|
||||||
|
|||||||
@@ -98,6 +98,16 @@
|
|||||||
"evening": "🌆",
|
"evening": "🌆",
|
||||||
"night": "🌙"
|
"night": "🌙"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"hawolex": {
|
||||||
|
"palette": { "Z1_BG": 61, "Z1_FG": 255, "Z2_BG": 37, "Z2_FG": 255, "PATH_FG": 194, "FRAME": 60 },
|
||||||
|
"emoji_set": {
|
||||||
|
"sunrise": [ "💻", "🚗", "🔊", "🎮" ],
|
||||||
|
"work": [ "🎧", "🕹️", "📟", "🧩" ],
|
||||||
|
"coffee": "☕",
|
||||||
|
"evening": "🌆",
|
||||||
|
"night": "🌙"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ if [[ -t 0 ]]; then
|
|||||||
echo " 4) Valentine"
|
echo " 4) Valentine"
|
||||||
echo " 5) Thanksgiving"
|
echo " 5) Thanksgiving"
|
||||||
echo " 6) New Year"
|
echo " 6) New Year"
|
||||||
|
echo " 7) Hawolex"
|
||||||
read -r -p "Choose [1]: " holiday_pick
|
read -r -p "Choose [1]: " holiday_pick
|
||||||
case "${holiday_pick}" in
|
case "${holiday_pick}" in
|
||||||
2) holiday_choice="easter" ;;
|
2) holiday_choice="easter" ;;
|
||||||
@@ -108,6 +109,7 @@ if [[ -t 0 ]]; then
|
|||||||
4) holiday_choice="valentine" ;;
|
4) holiday_choice="valentine" ;;
|
||||||
5) holiday_choice="thanksgiving" ;;
|
5) holiday_choice="thanksgiving" ;;
|
||||||
6) holiday_choice="newyear" ;;
|
6) holiday_choice="newyear" ;;
|
||||||
|
7) holiday_choice="hawolex" ;;
|
||||||
""|1) holiday_choice="christmas" ;;
|
""|1) holiday_choice="christmas" ;;
|
||||||
*) echo "Invalid choice, using christmas."; holiday_choice="christmas" ;;
|
*) echo "Invalid choice, using christmas."; holiday_choice="christmas" ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ if [[ -t 0 ]]; then
|
|||||||
echo " 4) Valentine"
|
echo " 4) Valentine"
|
||||||
echo " 5) Thanksgiving"
|
echo " 5) Thanksgiving"
|
||||||
echo " 6) New Year"
|
echo " 6) New Year"
|
||||||
|
echo " 7) Hawolex"
|
||||||
read -r -p "Choose [1]: " holiday_pick
|
read -r -p "Choose [1]: " holiday_pick
|
||||||
case "${holiday_pick}" in
|
case "${holiday_pick}" in
|
||||||
2) holiday_choice="easter" ;;
|
2) holiday_choice="easter" ;;
|
||||||
@@ -84,6 +85,7 @@ if [[ -t 0 ]]; then
|
|||||||
4) holiday_choice="valentine" ;;
|
4) holiday_choice="valentine" ;;
|
||||||
5) holiday_choice="thanksgiving" ;;
|
5) holiday_choice="thanksgiving" ;;
|
||||||
6) holiday_choice="newyear" ;;
|
6) holiday_choice="newyear" ;;
|
||||||
|
7) holiday_choice="hawolex" ;;
|
||||||
""|1) holiday_choice="christmas" ;;
|
""|1) holiday_choice="christmas" ;;
|
||||||
*) echo "Invalid choice, using christmas."; holiday_choice="christmas" ;;
|
*) echo "Invalid choice, using christmas."; holiday_choice="christmas" ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ _ps1_season() {
|
|||||||
# PS1_STYLE=aurora|neon|forge|circuit|mono
|
# PS1_STYLE=aurora|neon|forge|circuit|mono
|
||||||
# PS1_STYLE_PACK=standard|contest|holiday
|
# PS1_STYLE_PACK=standard|contest|holiday
|
||||||
# PS1_CONTEST_LAYOUT=day-time-user|user-time|time-user|day-time
|
# PS1_CONTEST_LAYOUT=day-time-user|user-time|time-user|day-time
|
||||||
# PS1_HOLIDAY=christmas|easter|halloween|valentine|thanksgiving|newyear
|
# PS1_HOLIDAY=christmas|easter|halloween|valentine|thanksgiving|newyear|hawolex
|
||||||
# Also reads config from /etc/ps1-style or ~/.config/ps1/style
|
# Also reads config from /etc/ps1-style or ~/.config/ps1/style
|
||||||
_ps1_style_config() {
|
_ps1_style_config() {
|
||||||
local cfg=""
|
local cfg=""
|
||||||
@@ -224,6 +224,11 @@ _ps1_symbol() {
|
|||||||
work_list=( "🗓️" "⏳" "🚀" "✨" )
|
work_list=( "🗓️" "⏳" "🚀" "✨" )
|
||||||
coffee="☕"; evening="🌆"; night="🌙"
|
coffee="☕"; evening="🌆"; night="🌙"
|
||||||
;;
|
;;
|
||||||
|
hawolex)
|
||||||
|
sunrise_list=( "💻" "🚗" "🔊" "🎮" )
|
||||||
|
work_list=( "🎧" "🕹️" "📟" "🧩" )
|
||||||
|
coffee="☕"; evening="🌆"; night="🌙"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
sunrise_list=( "🎉" "✨" "🎊" "🌟" )
|
sunrise_list=( "🎉" "✨" "🎊" "🌟" )
|
||||||
work_list=( "🧩" "🛠️" "💾" "🧪" )
|
work_list=( "🧩" "🛠️" "💾" "🧪" )
|
||||||
@@ -356,6 +361,14 @@ _ps1_set_prompt() {
|
|||||||
PATH_FG="\[\e[38;5;229m\]"
|
PATH_FG="\[\e[38;5;229m\]"
|
||||||
FRAME="\[\e[38;5;19m\]"
|
FRAME="\[\e[38;5;19m\]"
|
||||||
;;
|
;;
|
||||||
|
hawolex)
|
||||||
|
Z1_BG="\[\e[48;5;61m\]"
|
||||||
|
Z1_FG="\[\e[38;5;255m\]"
|
||||||
|
Z2_BG="\[\e[48;5;37m\]"
|
||||||
|
Z2_FG="\[\e[38;5;255m\]"
|
||||||
|
PATH_FG="\[\e[38;5;194m\]"
|
||||||
|
FRAME="\[\e[38;5;60m\]"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
Z1_BG="\[\e[48;5;24m\]"
|
Z1_BG="\[\e[48;5;24m\]"
|
||||||
Z1_FG="\[\e[38;5;255m\]"
|
Z1_FG="\[\e[38;5;255m\]"
|
||||||
|
|||||||
Reference in New Issue
Block a user