new

<?xml encoding="utf-8" ?><p># ---- Nyx@Blackout Hacker Prompt ----</p><p># Color codes<br> GREEN="\[\e[1;32m\]"<br> RED="\[\e[1;31m\]"<br> LIGHT_RED="\[\e[91m\]"<br> CYAN="\[\e[1;36m\]"<br> RESET="\[\e[0m\]"</p><p># Function: show full path<br> _show_dir() {<br> &nbsp; echo "$PWD"<br> }</p><p>set_nyx_blackout_prompt() {<br> &nbsp; local dir_repr user_label</p><p>&nbsp; dir_repr=$(_show_dir)</p><p>&nbsp; # Dynamically use "Nyx" or "root" depending on user<br> &nbsp; if [ "$EUID" -eq 0 ]; then<br> &nbsp; &nbsp; user_label="root"<br> &nbsp; else<br> &nbsp; &nbsp; user_label="Nyx"<br> &nbsp; fi</p><p>&nbsp; PS1="\n"<br> &nbsp; PS1+="${CYAN}&#9484;&#9472;&#9472;${RESET}"<br> &nbsp; PS1+="(${GREEN}${user_label}${RESET}@${RED}Blackout${RESET})"<br> &nbsp; PS1+="-${CYAN}[${dir_repr}]${RESET}\n"<br> &nbsp; PS1+="${CYAN}&#9492;&#9472;&#9472;"<br> &nbsp;&nbsp;<br> &nbsp; if [ "$EUID" -eq 0 ]; then<br> &nbsp; &nbsp; PS1+="# ${LIGHT_RED}"<br> &nbsp; else<br> &nbsp; &nbsp; PS1+="\$ ${LIGHT_RED}"<br> &nbsp; fi<br> }</p><p>PROMPT_COMMAND=set_nyx_blackout_prompt</p><p>&nbsp;</p>