Spyke

Replies

Comment on

[Sway] All the colorschemes

Reply in thread

reset="\[\e[m\]"
blue="\[\e[00;34m\]"
purple="\[\e[00;35m\]"
cyan="\[\e[00;36m\]"
yellow="\[\e[00;33m\]"
blink_yellow="\[\e[05;33m\]"

first_line="${reset}┌─[${blue}\u${reset}]-[${cyan}\h${reset}]-[${yellow}\w${reset}]"
second_line="\n└─[${blink_yellow}\$${reset}] "

if [ -f /usr/share/git/git-prompt.sh ]; then
    source /usr/share/git/git-prompt.sh
    GIT_PS1_SHOWCOLORHINTS=1
    PROMPT_COMMAND="__git_ps1 '$first_line' '$second_line' ' $purple %s';"
else
    # if the file doesn't exist create prompt directly with PS1
    PS1="$first_line$second_line"
fi
unset reset blue purple cyan yellow blink_yellow first_line second_line

It doesn't have to be so long I just don't like when people put everything in one line and its impossible to understand.

Comment on

It's really not that hard

Reply in thread

For me runit boots just as fast. Compatibility wise everything I use works just fine. Out of curiosity, what requires it to run besides gnome anyway? (I'm not a systemd hater I just use a distro I like that happens to not use systemd)