You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies in advance if there is something obvious in the documentation I'm missing.
I'm trying to use kitty's kitten icat to have an image appear in the front banner. This is what my configuration looks like.
return {
'goolord/alpha-nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function ()
local alpha = require'alpha'
require'alpha.term'
local dashboard = require("alpha.themes.dashboard")
dashboard.section.header.val = {}
dashboard.section.terminal.command ="kitty +kitten icat banner.jpeg"
alpha.setup(dashboard.config)
end
};
I think the main issue is the terminal command isn't running flat out. For example, when I changed the command to do hello.txt, nothing appears. If there is a better way of going about this, any help would be appreciated.
Side note: for the terminal command itself, I put banner.jpeg but I'm planning on just having an absolute path to the file.
Update: I was able to get the terminal looking after finding this example config:
For now this is fine since I've already spent enough time bashing my head against the wall on this. What I'm more or less curious about now is when the image renders, I get an exit code afterwards which is kind of annoying.
Also, I'll probably resize the image since it's way too big.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Apologies in advance if there is something obvious in the documentation I'm missing.
I'm trying to use kitty's kitten icat to have an image appear in the front banner. This is what my configuration looks like.
I think the main issue is the terminal command isn't running flat out. For example, when I changed the command to do hello.txt, nothing appears. If there is a better way of going about this, any help would be appreciated.
Side note: for the terminal command itself, I put banner.jpeg but I'm planning on just having an absolute path to the file.
Update: I was able to get the terminal looking after finding this example config:
https://github.com/Pytness/dotfiles/blob/master/.config/lvim/custom/dashboard.lua
My updated dashboard looks like this now:
When I tried using it with kitty, it fails and I get an error saying the Terminal isn't supported. I believe it's related to this:
https://github.com/neovim/neovim/issues/12991
For now this is fine since I've already spent enough time bashing my head against the wall on this. What I'm more or less curious about now is when the image renders, I get an exit code afterwards which is kind of annoying.
Also, I'll probably resize the image since it's way too big.
Update 2:
Looks like this issue was related to this here: https://github.com/neovim/neovim/issues/14986
I edited the term.lua code to look like this
This is probably a really stupid solution but when you actually start editing the process gets closed there's that.
Beta Was this translation helpful? Give feedback.
All reactions