Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.kdl being totally ignored by the looks of things. #2066

Open
pnunn opened this issue Jan 8, 2023 · 4 comments
Open

config.kdl being totally ignored by the looks of things. #2066

pnunn opened this issue Jan 8, 2023 · 4 comments

Comments

@pnunn
Copy link

pnunn commented Jan 8, 2023

zellij-9.log
zellij.log
config.zip
dump.txt

Basic information

zellij --version: 0.34.4
stty size: 67 626
uname -av: Linux peter-xps157590 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Further information
Reproduction steps, noticeable behavior, related issues, etc

I have modified the config created as suggested in the directions by copying the setup config first.

I tried adding rounded corners, changing the copy command to use x11 syntax, changed to the primary copy buffer (because it wasn't working on system) and changing the tmux commands from ctr-b to ctl-a.

However, when I dump the config again after starting zellij, nothing is changed. The check shows the file as being found, and syntax passes, so I'm not sure why this is being totally ignored.

config, and dump attached along with logs.

Ta.
Peter.

@imsnif
Copy link
Member

imsnif commented Jan 13, 2023

Hey, the --dump_config only dumps the default config. I realize the name is a bit confusing, so sorry for that.

As for your config, I downloaded it and ran zellij with zellij --config config.kdl and it worked for me. If using the flag explicitly like I did works for you too, could it be that you need to place it in the correct folder as mentioned here? https://zellij.dev/documentation/configuration.html#where-does-zellij-look-for-the-config-file

@pnunn
Copy link
Author

pnunn commented Jan 31, 2023

Sorry for the delay in getting back to you. I did try the explicit flag and couldn't see any real change, but then if the config that is being dumped is the default one, I'm not sure how I can tell its actually working (I tried setting round corners and it doesn't look different, but I might be missing something).

When I get a chance, I'll have a closer look. Ta. Peter.

@D3coded
Copy link

D3coded commented Mar 1, 2023

I'm experiencing the same behavior.

Calling zellij setup --check, everything seems fine:

➜  ~ zellij setup --check
[Version]: "0.34.4"
[CONFIG DIR]: "/Users/nino/.config/zellij"
[CONFIG FILE]: "/Users/nino/.config/zellij/config.kdl"
[CONFIG FILE]: Well defined.
[DATA DIR]: "/Users/nino/Library/Application Support/org.Zellij-Contributors.Zellij"
[PLUGIN DIR]: "/Users/nino/Library/Application Support/org.Zellij-Contributors.Zellij/plugins"
 Builtin, default plugins will not be loaded from disk.
 Create a custom layout if you require this behavior.
[LAYOUT DIR]: "$HOME/.config/zellij/layout"

All I've added to the dumped config "$HOME/.config/zellij/config.kdl" is:

layout_dir "$HOME/.config/zellij/layout"
theme_dir "$HOME/.config/zellij/themes"

If I start Zellij without passing any parameters, it looks like the default config, with no themes and no layouts loaded

@D3coded
Copy link

D3coded commented Mar 1, 2023

For what I found out is, that the path setting using variables does not work.
See Issue #1894
When I changed the path to an absolute path, the theme gets loaded well.

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

No branches or pull requests

3 participants