diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2018-05-25 15:07:23 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2018-05-25 16:02:11 -0400 |
commit | e2945f81c5c8b7a400516ee9b7abcef5c0d9b26d (patch) | |
tree | 21941ec54213c6a1aabd48245567e47bf66e1018 /pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install | |
parent | 0178674ffac7742e8d6256a91b323c95a7858409 (diff) | |
download | abslibre-e2945f81c5c8b7a400516ee9b7abcef5c0d9b26d.tar.gz abslibre-e2945f81c5c8b7a400516ee9b7abcef5c0d9b26d.tar.bz2 abslibre-e2945f81c5c8b7a400516ee9b7abcef5c0d9b26d.zip |
[parabola-theme-blackmate]: add qt5ct deps
Diffstat (limited to 'pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install')
-rw-r--r-- | pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install b/pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install new file mode 100644 index 000000000..be4aab294 --- /dev/null +++ b/pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install @@ -0,0 +1,17 @@ +post_install() { + + touch /etc/environment + grep "^QT_QPA_PLATFORMTHEME='*qt5ct'*" /etc/environment && \ + sed "s|QT_QPA_PLATFORMTHEME=.*|QT_QPA_PLATFORMTHEME='qt5ct'|g" /etc/environment || \ + sed "$ 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 +} |