aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-01-27 01:16:04 +0300
committerawy <awy@awy.one>2025-01-27 01:16:04 +0300
commit9ab45a00b02febb5dd2b1b309e3417984c31fea8 (patch)
treed579d9ef2a045b002572cbc016d47033937015f4
parentc27b95d8b1c767f462aa01a2e99c4a101f31a693 (diff)
pipewire
-rw-r--r--.config/hypr/hyprland.conf2
-rwxr-xr-x.local/bin/start-pipewire7
2 files changed, 8 insertions, 1 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index a53d5b6..2971d9d 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -6,7 +6,7 @@ $browser = firefox
$fileManager = foot lf
$menu = rofi -show drun
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
-exec-once = pipewire & pipewire-pulse & wireplumber
+exec-once = start-pipewire
exec-once = start-portal
exec-once = hyprpaper
exec-once = hyprslideshow /mnt/ssd/papes 60
diff --git a/.local/bin/start-pipewire b/.local/bin/start-pipewire
new file mode 100755
index 0000000..e883493
--- /dev/null
+++ b/.local/bin/start-pipewire
@@ -0,0 +1,7 @@
+#!/bin/sh
+killall pipewire
+killall pipewire-pulse
+killall wireplumber
+setsid -f pipewire
+setsid -f pipewire-pulse
+setsid -f wireplumber