mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-02 19:29:02 +00:00
feat(linux): add librepods-ctl CLI tool for IPC control (#494)
* feat(linux): expanded IPC socket handler with CLI command support * feat(linux): added librepods-ctl CLI tool for IPC control * build(linux): added librepods-ctl as a seperate binary * docs(linux): added CLI control usage to README
This commit is contained in:
committed by
GitHub
parent
b81e420398
commit
af2622b68e
@@ -1089,6 +1089,18 @@ int main(int argc, char *argv[]) {
|
||||
trayApp->loadMainModule();
|
||||
}
|
||||
}
|
||||
else if (msg == "noise:off") {
|
||||
trayApp->setNoiseControlModeInt(0);
|
||||
}
|
||||
else if (msg == "noise:anc") {
|
||||
trayApp->setNoiseControlModeInt(1);
|
||||
}
|
||||
else if (msg == "noise:transparency") {
|
||||
trayApp->setNoiseControlModeInt(2);
|
||||
}
|
||||
else if (msg == "noise:adaptive") {
|
||||
trayApp->setNoiseControlModeInt(3);
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_ERROR("Unknown message received: " << msg);
|
||||
|
||||
Reference in New Issue
Block a user