From 889ecc6eb97dc18c318740597bc30d76a5378f1d Mon Sep 17 00:00:00 2001 From: Venelin Dechkov Date: Fri, 24 Apr 2026 10:16:17 +0300 Subject: [PATCH] pipewire support --- vene.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vene.cpp b/vene.cpp index 8050282..5210f21 100644 --- a/vene.cpp +++ b/vene.cpp @@ -31,7 +31,7 @@ namespace Proc child; Cmd browser( - #if !defined(PULSEAUDIO) + #if !defined(PULSEAUDIO) && !defined(PIPEWIRE) "apulse", #endif BROWSER); @@ -325,9 +325,8 @@ extern "C" size_t link_begin = entry.find('-'); if(link_begin != string::npos) { - Cmd open_bookmark("apulse", BROWSER); - detach(open_bookmark + - (entry.c_str() + link_begin + 1)); // skip - + Cmd open_bookmark = browser + (entry.c_str() + link_begin + 1); // skip - + detach(open_bookmark); break; } }