Created
April 21, 2023 07:04
-
-
Save heddxh/7b789ff169d56b81aefc5b44da3d721d to your computer and use it in GitHub Desktop.
A pacman hook to make font display correctly in WPS when on KDE with dark theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Operation = Install | |
Operation = Upgrade | |
Type = Package | |
Target = wps-office | |
[Action] | |
Description = Setting desktop and GTK theme for WPS Office | |
When = PostTransaction | |
Exec = /bin/sed -i '1a\export XDG_CURRENT_DESKTOP=GNOME\nexport GTK_THEME=Default\n/' usr/bin/et usr/bin/wps usr/bin/wpp usr/bin/wpspdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment