From de666096ce213f1e39ecad35ca3275d33bd51f9b Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sun, 14 Jul 2024 23:43:37 +0000 Subject: Move gtk.css into config.org --- config.org | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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 -- cgit 1.4.1-2-gfad0