[GTK] Update GTK2 and GTK3 config

GTK2 finally gets its gtkrc file, and both file now use the Nord theme
This commit is contained in:
Lucien Cartier-Tilet 2020-08-24 14:44:35 +02:00
parent 2a19478995
commit a715318736
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -96,11 +96,42 @@
:END: :END:
**** GTK2 **** GTK2
:PROPERTIES: :PROPERTIES:
:HEADER-ARGS: :tangle ~/.config/gtk-2.0/gtkfilechooser.ini
:CUSTOM_ID: Features-Graphical_tweaks-GTK_Settings-GTK2-74c9de24 :CUSTOM_ID: Features-Graphical_tweaks-GTK_Settings-GTK2-74c9de24
:END: :END:
Regarding GTK2, I have only one configuration file: the filechoosers ***** General configuration
configuration file. :PROPERTIES:
:HEADER-ARGS: :tangle ~/.gtkrc-2.0
:CUSTOM_ID: Features-Graphical_tweaks-GTK_Settings-GTK2-General_configuration-eb1f1f3c
:END:
This file is tangled at ~$HOME/.gtkrc-2.0~. This is an equivalent for the
GTK3 configuration file you will see below, and it shares most of its
settings. First, lets select the Nordic theme for GTK2. Lets also set
the icon theme.
#+BEGIN_SRC conf-unix
# -*- mode: unix-config -*-
gtk-theme-name="Nordic"
gtk-icon-theme-name="Flat-Remix-Dark"
#+END_SRC
#+BEGIN_SRC conf-unix
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintslight"
#+END_SRC
This changes the shortcuts in menu, lets also make the menus snappier.
#+BEGIN_SRC conf-unix
gtk-can-change-accels=1
gtk-menu-bar-popup-delay=0
gtk-menu-popdown-delay=0
gtk-menu-popup-delay=0
#+END_SRC
***** Filechooser
:PROPERTIES:
:HEADER-ARGS: :tangle ~/.config/gtk-2.0/gtkfilechooser.ini
:CUSTOM_ID: Features-Graphical_tweaks-GTK_Settings-GTK2-Filechooser-389f040d
:END:
#+BEGIN_SRC conf-unix #+BEGIN_SRC conf-unix
[Filechooser Settings] [Filechooser Settings]
#+END_SRC #+END_SRC
@ -181,13 +212,16 @@
gtk-icon-theme-name = Flat-Remix-Dark gtk-icon-theme-name = Flat-Remix-Dark
#+END_SRC #+END_SRC
Now, the general theme for GTK3 is Arc Dark. Now, the general theme for GTK3 is Nordic.
#+BEGIN_SRC conf-unix #+BEGIN_SRC conf-unix
gtk-theme-name = Arc-Dark gtk-theme-name = Nordic
#+END_SRC #+END_SRC
#+BEGIN_SRC conf-unix #+BEGIN_SRC conf-unix
gtk-can-change-accels = 1 gtk-can-change-accels=1
gtk-menu-bar-popup-delay=0
gtk-menu-popdown-delay=0
gtk-menu-popup-delay=0
#+END_SRC #+END_SRC
#+BEGIN_SRC conf-unix #+BEGIN_SRC conf-unix