pywal icon indicating copy to clipboard operation
pywal copied to clipboard

How to see the current color theme

Open applejwjcat opened this issue 3 years ago • 3 comments

Hello, I wonder if there is any way to know the current theme the terminal is used? I know when use "wal --theme random" , it will print the current theme? But I didn't notice it after a lot of work, I want to know the current color theme is, the cache file can't tell anything. Thanks!

applejwjcat avatar Feb 28 '22 08:02 applejwjcat

I usually use neofetch for that.

eylles avatar Mar 11 '22 20:03 eylles

You can use wal --preview to print the current colorscheme.

coloursofnoise avatar Apr 24 '22 20:04 coloursofnoise

@dylanaraps - Is there a way to show the hex value next to each color in the preview for quick reference? Or is there another recommended way?

Edit - Using this for now for those interested:

function color() {
    wal --preview | tail -n4 | sed -E "s/ {4}/        /g"
    cat ~/.cache/wal/colors | tr "\n" " " | sed -z "s/\s/\n/8" && echo \\n
}

acamso avatar Aug 07 '22 23:08 acamso