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:
Fabian Moor Pucar
2026-03-31 05:39:37 +02:00
committed by GitHub
parent b81e420398
commit af2622b68e
4 changed files with 82 additions and 0 deletions

View File

@@ -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);