Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Pywal doesn't wok with kitty terminal #215

Closed
ghost opened this issue Mar 31, 2018 · 10 comments
Closed

Pywal doesn't wok with kitty terminal #215

ghost opened this issue Mar 31, 2018 · 10 comments

Comments

@ghost
Copy link

ghost commented Mar 31, 2018

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
Copy link
Owner

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: alacritty/alacritty#656

@dylanaraps
Copy link
Owner

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
Copy link
Author

ghost commented Apr 2, 2018

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
Copy link
Owner

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

@vviikk
Copy link

vviikk commented Apr 5, 2018

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
Copy link
Owner

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

@paanvaannd
Copy link

@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
Copy link

spolakh commented Mar 27, 2021

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
Copy link

spolakh commented Mar 27, 2021

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants