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

Background Image | Wallpaper #3059

Closed
paulcomte opened this issue Jul 13, 2022 · 9 comments
Closed

Background Image | Wallpaper #3059

paulcomte opened this issue Jul 13, 2022 · 9 comments
Labels
A-gui Area: Helix gui improvements C-enhancement Category: Improvements

Comments

@paulcomte
Copy link

Describe your feature request

Hey !
It'd be cool to have the ability to set a background-image on supported terminals (like kitty).

Like on IntelliJ:
intellij_example

Here is an example of what it'd be on helix:
helix_example

@paulcomte paulcomte added the C-enhancement Category: Improvements label Jul 13, 2022
@CptPotato
Copy link
Contributor

How would an application running in the terminal specify the background image? Is this specific to kitty or do other terminals support this as well?

As a different solution, if you have already set a background image in your terminal you can use a transparent background color in helix. To do that just comment out the ui.background = ... line in the theme you're using.

@kirawi kirawi added the A-gui Area: Helix gui improvements label Jul 14, 2022
@paulcomte
Copy link
Author

Kitty can draw images in the terminal,

Yeah I guess I'll use transparent background in that case,

Thanks;

@paulcomte paulcomte closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2022
@bluebrown
Copy link

bluebrown commented Dec 30, 2022

@CptPotato, commenting out doesn't pair well when trying to overwrite a pallet. Imo, there should be a color named none or transparent that we can use for overwrites.

@CptPotato
Copy link
Contributor

@CptPotato, commenting out doesn't pair well when trying to overwrite a pallet. Imo, there should be a color named none or transparent that we can use for overwrites.

That's not a bad idea. Feel free to create an issue for this feature if there doesn't exist one already.

@gabydd
Copy link
Member

gabydd commented Dec 31, 2022

With the inherits you can set "ui.background" = {} and then there won't be a background, this could probably be documented somewhere

@freepicheep
Copy link

Thanks, @gabydd! The background was so annoying since I use a translucent terminal.

@Hachikoi-the-creator
Copy link

sorry if I sound ignorant, but couldn't make it work.
How would the configuration be in my config.toml to have by background transparent?
currently have onedark as a theme

@Hachikoi-the-creator
Copy link

nvm found it! (leaving instructions in case someone needs them)

inside .config/helix

@melMass
Copy link

melMass commented Mar 13, 2023

You actually don't need to copy the theme, you can create a simple override theme that inherit the main theme: https://docs.helix-editor.com/themes.html#inheritance

# ./themes/my_theme.toml
inherits = "rose_pine_moon"
"ui.background" = { }
# ./config.toml
theme = "my_theme"
# ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-gui Area: Helix gui improvements C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

8 participants