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; } }