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

hook not working with emacs #86

Open
auralluring opened this issue Feb 7, 2024 · 0 comments
Open

hook not working with emacs #86

auralluring opened this issue Feb 7, 2024 · 0 comments

Comments

@auralluring
Copy link

i feel like i must be doing something wrong here, but i can't figure out what. i have a custom template i made that injects itself into an autothemer theme file. that part works perfectly, and emacs has no issues with the generated theme.

the problem is that the hook just... isn't working. here's its whole section in the config.toml file:

[[items]]
file = "~/.config/emacs/flavours-theme.el"
template = "emacs"
subtemplate = "custom"
start = ";; Start Flavours"
end = ";; End Flavours"
hook = "emacsclient -e '(my/load-theme)'"

i was having some minor problems with the emacs daemon having trouble starting yesterday, but it seems fine now. the thing that's tripping me up about this is that the same exact command works fine when i execute it manually in a terminal. and if i put a different command there - for example, to open a new terminal - it too does its job! i've also tried changing the shell to bash and even zsh - nothing.

i used to use pywal/wgptk, with a wrapper to execute a custom script afterwards. the same command was in there (i actually created the function for that purpose) and i had no problems with it, so i really don't get what's going wrong here.

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

No branches or pull requests

1 participant