nord icon indicating copy to clipboard operation
nord copied to clipboard

Port for framebuffer console (fbcon)

Open f6p opened this issue 3 years ago • 0 comments

Hi,

I have a snipplet that changes color theme of framebuffer console.

This works until reset is called (it should be added to bash_logout or zprofile):

if [ "$TERM" = "linux" ] ; then
    echo -en "\e]P02b2f36" # black
    echo -en "\e]P84c566a" # darkgrey
    echo -en "\e]P1bf616a" # darkred
    echo -en "\e]P9bf616a" # red
    echo -en "\e]P2a3be8c" # darkgreen
    echo -en "\e]PAa3be8c" # green
    echo -en "\e]P3ebcb8b" # brown
    echo -en "\e]PBebcb8b" # yellow
    echo -en "\e]P481a1c1" # darkblue
    echo -en "\e]PC81a1c1" # blue
    echo -en "\e]P5b48ead" # darkmagenta
    echo -en "\e]PDb48ead" # magenta
    echo -en "\e]P688c0d0" # darkcyan
    echo -en "\e]PE8fbcbb" # cyan
    echo -en "\e]P7e5e9f0" # lightgrey
    echo -en "\e]PFeceff4" # white
    clear
fi

Black color is a bit darker than the darkest nord color but the rest matches the palette.

Cheers 🍷

f6p avatar Apr 18 '21 16:04 f6p