dylanaraps / pywal

🎨 Generate and change color-schemes on the fly.
MIT License
8.33k stars 324 forks source link

Pywal doesn't wok with kitty terminal #215

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi!

I set up everything. Here is what I put into /etc/profile and ~/.profile: (cat ~/.cache/wal/sequences &) cat ~/.cache/wal/sequences source ~/.cache/wal/colors-tty.sh

Then I added wal -R into ~/.xinitrc and pywal is not working. When I type command wal -i mywal.png everything works fine, but when I open another terminal it's using default colors. Did I do something wrong?

Here is my spec: os: Arch Linux wm: i3-gaps terminal: kitty-terminal

dylanaraps commented 6 years ago

Kitty most likely doesn't support the escape sequences required. This needs to be fixed on their end.

You can open an issue on their repo, see this issue as an example: https://github.com/jwilm/alacritty/issues/656

dylanaraps commented 6 years ago

I just installed kitty and everything works fine for me. You need to put the cat ... sequences line in your .bashrc/.zshrc, not .profile.

ghost commented 6 years ago

Yeah, I think that the problem is with fish. When I changed terminal to zsh everything works. Do you know how can I set up pywal on fish?

dylanaraps commented 6 years ago

I’ll take a look and see if I can reproduce this.

vviikk commented 6 years ago

Weird. For me, it's working great on Arch, using cat...sequences but one OSX, it's not doing anything. iTerm works though. And alacritty.

I'm using the same config between Arch & Osx.

https://github.com/piggyslasher/dotfiles/blob/master/kitty/.config/kitty/kitty.conf

dylanaraps commented 6 years ago

It works fine for me even with fish. I don't think this is a pywal issue.

paanvaannd commented 6 years ago

@piggyslasher Did you get it to work on macOS? It works flawlessly with iTerm 2 but Kitty's theme does not change from the one that I have specified in the kitty.conf file. Are there extra steps one must take on macOS in order to get the theme to match the pywal-generated colorscheme?

spolakh commented 3 years ago

I managed to ~ make it work on macOS. First, I had to install from git since the pip version was way out of date and had a couple of macos-specific troubles. After that running wal -R (assuming you already have generated theme already) /from kitty itself/ works. I'm still trying to figure out why doesn't it work if executed from outside of kitty since my driver script that manages pywal is running in a daemon. Would be happy to get any pointers.

spolakh commented 3 years ago

I've figured out why wal -R only worked form within kitty: because by default kitty remote control expects to be ran from within one of the kitty windows. Added #595 to communicate over the socket if calling from outside

Kevin-Mok commented 5 months ago

Adding wal -r to my ~/.config/kitty/kitty.conf worked for me.