summaryrefslogtreecommitdiff
path: root/etc/pacman.d/hooks/spotify.hook
blob: 70fccc564b648350cbffed1e27a69c284acfb7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Target = opt/spotify

[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = spotify
Target = spotify-adblock
Target = spicetify-cli

[Action]
Description = Patching spotify with spicetify...
When = PostTransaction
Exec = /usr/bin/sh -c "/usr/bin/spicetify apply || /usr/bin/spicetify backup apply"
NeedsTargets