summaryrefslogtreecommitdiff
path: root/pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install
blob: 9610b443f0ed3e32e754e0f6d8ef27e3328a4d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {

  touch /etc/environment
  grep "^QT_QPA_PLATFORMTHEME='*qt5ct'*"                                /etc/environment && \
      sed -i "s|QT_QPA_PLATFORMTHEME=.*|QT_QPA_PLATFORMTHEME='qt5ct'|g" /etc/environment || \
      sed -i "$ a\QT_QPA_PLATFORMTHEME='qt5ct'"                         /etc/environment


  cat << _EOF

==> Installation:
==> To allow QT programs to follow the theme: 'parabola-theme-blackmate';
==> either copy /usr/share/themes/parabola-blackmate/qt5ct/qt5ct.conf to ~/.config/qt5ct/
==> or run the `qt5ct` program and select the theme: 'gtk2'.

_EOF
}