-
Notifications
You must be signed in to change notification settings - Fork 7
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
Transparent background in editor #12
Comments
My OS is Manjaro Linux with the Xfce desktop. Here are a two terminals: Kitty https://sw.kovidgoyal.net/kitty/ The Kitty terminal is capable of transparent background colors, since the status bar can do it. For example: |
So, unfortunately, that status bar is a part of kitty terminal's internal UI. It's not really a terminal program. All other terminal programs I've run in linux have opaque background colors. 🤔 |
So I think my only path forward is to not set a background color at all in |
I don't know if it is possible to do this with edits to the .tmTheme file only. :( |
I confirmed that it is not applied transparency if the background color is different from the terminal's default color on Kitty with mac. I think it can be resolved by adding a config that not to render background-color on editors' screen. How do you think? |
That might work. I could not figure out how to do that with edits to the xml file (and rebuilding). Maybe there is another command we can use from the syntax library. |
Currently, acc uses Lines 55 to 63 in 615885d
Maybe we should just make a syntax file configurable. |
Runtime configuration would be good! |
It works! This is a new computer, but for some reason it's working here. I am traveling, I will try it on my other devices when I get home in a few days. Environment: Manjaro Linux, Xfce Desktop, Kitty v 1.16 On my other desktop I did have an older version of Kitty, because it is a Ubuntu-based machine and the package manager is not up to date. But the good news is this is my new main laptop! :) |
I used the path-based configuration you provided as an option in #15 and copied the OneDark theme into a new file at $HOME/.config/acc/themes/Test.tmTheme, and provided the full path to that theme. And edited the background config to 00000. Theme in a gist: https://gist.github.com/dontlaugh/62e7cc4b325638adc36d7155f4c9f0df#file-test-tmtheme-L17 |
I have a transparent terminal. I like the way it looks.
In the acc editor, the line numbers have a transparent background, but the editor area does not.
Is there a way to configure a transparent background for both?
The text was updated successfully, but these errors were encountered: