abo-abo / eclipse-theme

Eclipse theme for Emacs
22 stars 6 forks source link

Border between windows? #11

Closed jonasseglare closed 1 year ago

jonasseglare commented 1 year ago

First of all, thanks for a very tasteful theme.

I am running Ubuntu 22.04 and I have the issue that the border between windows is not very visible as seen below:

before

As a quick fix, I added the definition (eclipse-fringe "grey90") and change the fringe setting to be (fringe :background ,eclipse-fringe). If I do that, it is easier to see the border but ideally I would like the background of the actual scrollbar to be grey rather than the fringes:

after

Does anyone have a suggestion how to improve the border visibility between the windows apart from my hack above? Is there another setting than fringe that can be tweaked?

jonasseglare commented 1 year ago

I did some more research on this and it seems that it is not so easy to set the scrollbar colors from within emacs. My solution was to create a file ~/.emacs.d/xdg_config_home/gtk-3.0/gtk.css containing

.scrollbar.trough,
scrollbar trough {
    background-color: grey90;
}

and adding the line alias emacs="XDG_CONFIG_HOME=/home/jonas/.emacs.d/xdg_config_home /snap/bin/emacs" to my ~/.bashrc. Now I get the appearance that I want:

gtk