Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
for i in (cat ~/.config/zellij/config.yaml | rg "\[\d+, \d+, \d+\]")
echo $i | sd " " "" | read -d ":" -l colorname rgb
set c "#"
for j in (echo $rgb | grep -ohP "\d+" )
set c $c(python -c "print(hex($j)[2:])")
end
set_color $c; echo $colorname: $c
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment