Misterio77 / nix-colors

Modules and schemes to make theming with Nix awesome.
GNU General Public License v3.0
465 stars 38 forks source link

Add shellThemeFromScheme function to lib-contrib #19

Closed xlambein closed 2 years ago

xlambein commented 2 years ago

Adds a Nix function which generates a shell script that applies a given color scheme to the current shell.

Inspired by https://git.sr.ht/~misterio/shellcolord and https://github.com/Misterio77/nix-colors/pull/14

Misterio77 commented 2 years ago

Thank you!

This exactly what I had in mind. Works flawlessly on all shells I've tested.

I'm just gonna suggest a quick fix for also applying the color to tmux' borders (the code has been lying around but I forgot to update shellcolord with it). GNU screen is working nicely as well.

xlambein commented 2 years ago

Cool! :) I applied your changes, do you want me to squash the commits or something?

Misterio77 commented 2 years ago

Sorry for the delay, totally missed the blue dot

I usually squash, but I can do that with just one click, no worries!

Thanks a lot again <3

xlambein commented 2 years ago

Awesome! Thanks for the project, I like it a lot! :>

Misterio77 commented 2 years ago

Thank you so much for using it and contributing back!