diff options
author | Solomon Choina | 2020-12-08 12:24:54 -0500 |
---|---|---|
committer | Solomon Choina | 2020-12-08 12:24:54 -0500 |
commit | f5a0e1a59ce9bac1add3f14b2e9e930c4e2aa5f5 (patch) | |
tree | a8859931a05f95e8db0aceb516372175f0be0cb9 /pulseaudio.install | |
parent | 194d6326cd74bac487683e9b7be386259fb282ac (diff) | |
download | aur-f5a0e1a59ce9bac1add3f14b2e9e930c4e2aa5f5.tar.gz |
pipewire and other stuff
Diffstat (limited to 'pulseaudio.install')
-rw-r--r-- | pulseaudio.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pulseaudio.install b/pulseaudio.install new file mode 100644 index 000000000000..f6f8478d05c9 --- /dev/null +++ b/pulseaudio.install @@ -0,0 +1,14 @@ +post_install() { + # Enable socket by default + systemctl --global enable pulseaudio.socket +} + +post_upgrade() { + if (( $(vercmp $2 8.0-3) < 0)); then + systemctl --global enable pulseaudio.socket + fi +} + +pre_remove() { + systemctl --global disable pulseaudio.socket +} |