From 6235d7205270218d9a00ba5504ab3a4359f92455 Mon Sep 17 00:00:00 2001 From: EMH-Mark-I Date: Fri, 8 Apr 2022 00:10:25 -0500 Subject: [PATCH] Theme update Addressing issue #235. Updated INSTALL.md to include steps for enabling GTK themes for Flatpak applications. --- INSTALL.md | 26 ++++++++++++++++++++++ Theme/Chicago95/gtk-3.0/gtk-headerbars.css | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 4a4a941..b22a65b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -17,6 +17,7 @@ * [Launcher Button icon scaling](#button_scale) (*For legacy GTK2 panelbars only*) * [Thunar status indicator](#thunar) * [QT5 theme configration with qt5ct](#config_qt5ct) + * [Apply GTK theme for Flatpak applications](#flatpak_config) * [GTK Overlay Scrollbars](#gtk_scroll) * [Desktop Shadow effects](#desktop_shadow) * [Desktop background color](#desktop_color) @@ -382,6 +383,31 @@ Once you are logged back into your desktop you can access `Qt5 Settings` (or run [[Return to Index]](#index) + + +### [ Apply GTK theme for Flatpak applications ] (advanced) +If you would like to enable theme support for appplications installed through Flatpak, then follow the below steps. + +#### Step 1: + +Permit Flatpak container applications file level access to the theme directory. + + sudo flatpak override --filesystem=$HOME/.themes + +*Note: Flatpak black lists `/usr/share/themes` from being accessible period, so you'll have to install the Chicago95 theme somewhere else; ideally in `~/.themes`* + +#### Step 2: + +Enable the Chicago95 GTK theme for Flatpak container applications. + + sudo flatpak override --env=GTK_THEME=Chicago95 + +Now reload your Flatpak application to verify the theme change. + +Something else worth noting. If you copy the Chicago95 icon theme into `/usr/share/icons`, then your Flatpak applications will default to that icon theme so long it's enabled. + +[[Return to Index]](#index) + ### [ GTK Overlay Scrollbars ] diff --git a/Theme/Chicago95/gtk-3.0/gtk-headerbars.css b/Theme/Chicago95/gtk-3.0/gtk-headerbars.css index 4f60f9a..49ae94c 100644 --- a/Theme/Chicago95/gtk-3.0/gtk-headerbars.css +++ b/Theme/Chicago95/gtk-3.0/gtk-headerbars.css @@ -35,7 +35,7 @@ headerbar, headerbar .subtitle:backdrop, headerbar:backdrop > checkbutton label, .titlebar:backdrop > checkbutton label { - color: @inactive_title_bg_color; } + color: @inactive_title_text_color; } headerbar entry { margin: 3px; padding-top: 1px;