From 8f94758d922ad20ad25ed795924cd3729521b2fc Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Tue, 23 Aug 2016 01:17:45 -0500 Subject: [PATCH] make sure gtk theme applies to root user --- dist/antergos-iso | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dist/antergos-iso b/dist/antergos-iso index c6dd46d..6061584 100644 --- a/dist/antergos-iso +++ b/dist/antergos-iso @@ -174,6 +174,7 @@ _hotfix_cnchi_polkit_policy() { sudo chmod +x '/usr/share/cnchi/bin/cnchi' } + _hotfix_cnchi_font_css() { sudo sed -i \ "s| Lato| \"Open Sans\"|g; @@ -181,6 +182,11 @@ _hotfix_cnchi_font_css() { } +_hotfix_gtk_theme_for_root() { + sudo cp -R /home/antergos/.config /root +} + + hotfix_run_when_connected() { if [[ 'True' = "${IS_MINIMAL}" ]]; then pac -S numix-icon-theme-square numix-icon-theme numix-frost-themes adwaita-icon-theme @@ -190,6 +196,7 @@ hotfix_run_when_connected() { _hotfix_ckbcomp_script_file_permissions _hotfix_cnchi_font_css + _hotfix_gtk_theme_for_root local CHECK_UPDATES CHECK_UPDATES=$(sudo checkupdates)