Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
make sure gtk theme applies to root user
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Aug 23, 2016
1 parent c9a0ec3 commit 8f94758
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dist/antergos-iso
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,19 @@ _hotfix_cnchi_polkit_policy() {
sudo chmod +x '/usr/share/cnchi/bin/cnchi'
}


_hotfix_cnchi_font_css() {
sudo sed -i \
"s| Lato| \"Open Sans\"|g;
s| 'Lato'| \"Open Sans\"|g;" /usr/share/cnchi/data/css/gtk-style.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
Expand All @@ -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)
Expand Down

0 comments on commit 8f94758

Please sign in to comment.