Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port for framebuffer console (fbcon) #156

Open
f6p opened this issue Apr 18, 2021 · 0 comments
Open

Port for framebuffer console (fbcon) #156

f6p opened this issue Apr 18, 2021 · 0 comments

Comments

@f6p
Copy link

f6p commented Apr 18, 2021

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
🍷

@svengreb svengreb changed the title framebuffer conosle theme Port for framebuffer console (fbcon) Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants