pipewire support

This commit is contained in:
Venelin Dechkov
2026-07-30 11:54:49 +03:00
parent 4a5e539580
commit 889ecc6eb9
+3 -4
View File
@@ -31,7 +31,7 @@ namespace
Proc child; Proc child;
Cmd browser( Cmd browser(
#if !defined(PULSEAUDIO) #if !defined(PULSEAUDIO) && !defined(PIPEWIRE)
"apulse", "apulse",
#endif #endif
BROWSER); BROWSER);
@@ -325,9 +325,8 @@ extern "C"
size_t link_begin = entry.find('-'); size_t link_begin = entry.find('-');
if(link_begin != string::npos) if(link_begin != string::npos)
{ {
Cmd open_bookmark("apulse", BROWSER); Cmd open_bookmark = browser + (entry.c_str() + link_begin + 1); // skip -
detach(open_bookmark + detach(open_bookmark);
(entry.c_str() + link_begin + 1)); // skip -
break; break;
} }
} }