pipewire support
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user