diff options
author | noa@gaiwan.org | 2024-07-14 23:43:37 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-07-14 23:43:37 +0000 |
commit | de666096ce213f1e39ecad35ca3275d33bd51f9b (patch) | |
tree | 542ee4948cb3a7ce1aed024f9505fed488109d47 /config.org | |
parent | 7173d2a855732bc3e520558833955ed8b12af35f (diff) |
Move gtk.css into config.org
Diffstat (limited to 'config.org')
-rw-r--r-- | config.org | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/config.org b/config.org index ff5d7ee..a1390ed 100644 --- a/config.org +++ b/config.org @@ -383,6 +383,34 @@ Adaptive wrap will indent visually wrapped text to match the indent at the start ** Interface I want to make sure that various bits of the interface are hidden. but this isn't an "all gui chrome is useless" rampage. I personally think the scrollbar is useful, i like the visual indication it gives of how far i am through a file. +First we can change the style of the scrollbars to be a bit chunkier. This is done in css. Unfortunately i can't figure out how to change the colour of the slider, which apparently can be done with the usual attributes, but this doesn't actually affect the colour shown on my scrollbars. + +For some programs, it might be necessary to set ~gsettings set org.gnome.desktop.interface overlay-scrolling false~ to ensure that the scrollbars show up properly. + +#+begin_src css :tangle ~/.config/gtk-3.0/gtk.css + scrollbar { + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + + border: none; + border-left: 1px solid black; + background-color: white; + + -GtkRange-slider-width: 30; + } + scrollbar trough { + border: none; + border-radius: 0; + } + scrollbar slider { + border-radius: 0; + border: 1px solid black; + width: 90%; + box-shadow: none; + background-color: white; + } +#+end_src + At the moment, explicitly disabling the menu bar and tool bar does nothing, because i already set there to be no lines displayed for the tool and menu bars in my early-init.el file. #+begin_src elisp :tangle no |