Skip to content

Instantly share code, notes, and snippets.

@outloudvi
Created December 16, 2019 09:59
Show Gist options
  • Save outloudvi/bc076062bea7d6c012251e529f6fb219 to your computer and use it in GitHub Desktop.
Save outloudvi/bc076062bea7d6c012251e529f6fb219 to your computer and use it in GitHub Desktop.
Preserve writable permission for CSS of VSC workbench for background modifications (like https://github.com/shalldie/vscode-background). For Arch Linux (and maybe Manjaro?). This should be put in /etc/pacman.d/hooks .
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = code
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = usr/lib/code/out/vs/workbench/workbench.desktop.main.css
[Action]
Description = Making Code workbench user-writable...
When = PostTransaction
Exec = /usr/bin/chmod a+w /usr/lib/code/out/vs/workbench/workbench.desktop.main.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment