summarylogtreecommitdiffstats
path: root/rstudio-ligatures.hook
blob: 105c13191bf8cc69b137c5c7dfdcf4279121e33a (plain)
1
2
3
4
5
6
7
8
9
10
11
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = usr/lib/rstudio/www/index.htm
Target = usr/share/libalpm/hooks/rstudio-ligatures.hook

[Action]
Description = Enabling RStudio ligatures
When = PostTransaction
Exec = /usr/bin/sed -i 's/.!head_tags./\0\n    <style>* {text-rendering: optimizeLegibility}<\/style>/' /usr/lib/rstudio/www/index.htm