summaryrefslogtreecommitdiff
path: root/pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install')
-rw-r--r--pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install17
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
+}