summarylogtreecommitdiffstats
path: root/0004-Remove-services-that-systemd-automatically-starts-fr.patch
blob: 8d79159b5bdc4d964611c1bbd151b5a5efd0de55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From fc4aa1e203a142e46142bc6d013ae09b5bb3be9a Mon Sep 17 00:00:00 2001
From: ArenM <aren@peacevolution.org>
Date: Sat, 18 Feb 2023 14:40:03 -0500
Subject: [PATCH sxmo-utils 4/9] Remove services that systemd automatically
 starts from the start hook

---
 configs/default_hooks/sxmo_hook_start.sh | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/configs/default_hooks/sxmo_hook_start.sh b/configs/default_hooks/sxmo_hook_start.sh
index 8140d6d..9697d8d 100755
--- a/configs/default_hooks/sxmo_hook_start.sh
+++ b/configs/default_hooks/sxmo_hook_start.sh
@@ -11,16 +11,6 @@ xdg-user-dirs-update
 
 printenv | cut -d '=' -f 1 | xargs systemctl --user import-environment
 
-# Load our sound daemons
-
-if [ "$(command -v pulseaudio)" ]; then
-	superctl start pulseaudio
-elif [ "$(command -v pipewire)" ]; then
-	# pipewire-pulse will start pipewire
-	superctl start pipewire-pulse
-	superctl start wireplumber
-fi
-
 # Periodically update some status bar components
 sxmo_hook_statusbar.sh all
 sxmo_daemons.sh start statusbar_periodics sxmo_run_aligned.sh 60 \
-- 
2.39.2