From e2945f81c5c8b7a400516ee9b7abcef5c0d9b26d Mon Sep 17 00:00:00 2001 From: bill-auger Date: Fri, 25 May 2018 15:07:23 -0400 Subject: [parabola-theme-blackmate]: add qt5ct deps --- .../parabola-theme-blackmate.install | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install (limited to 'pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install') 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 +} -- cgit v1.2.3